The following MColor methods differ from their C++
counterparts.
-
Returns a sequence of 3 floats containing the r,g,b values.
If the colorModel argument is not specified the return value
is the sequence obtained by calling MColor::get(float[3]),
otherwise it is the result of calling
MColor::get(MColorType colorModel, float& c1, float& c2, float& c3).
-
Returns a sequence of 4 floats containing the r,g,b,a values given
in the specified color model.
This is a wrapper around the C++ method MColor::get(MColorType colorModel, float& c1, float& c2, float& c3, float& alpha).
Release 0.9.3, documentation updated on October 9, 2006.