MColor¶
-
class
MColor
(clr=None, model=0, dataType=0)¶ Bases:
OpenMaya.MColor
Override of the Maya API class of the same name to make the data within the class ‘picklable’
Methods Summary
getColorModel
()Returns the color model used by this MColor object getDataType
()Returns the color data type used by this MColor object setColor
(clr[, model, dataType])Override of the base class version to add functionality Methods Documentation
-
getColorModel
()¶ Returns the color model used by this MColor object
RETURNS int representing the color model type such as MColor.kRGB
-
getDataType
()¶ Returns the color data type used by this MColor object
RETURNS int representing the color data type such as MColor.kFloat
-
setColor
(clr, model=0, dataType=0)¶ Override of the base class version to add functionality
-