Python API 2.0 Reference: OpenMaya.MColorArray Class Reference

+ Inheritance diagram for OpenMaya.MColorArray:

Public Member Functions

__add__ ()
 
__contains__ ()
 
__delitem__ ()
 
__getitem__ ()
 
__iadd__ ()
 
__imul__ ()
 
__init__ ()
 
__len__ ()
 
__mul__ ()
 
__repr__ ()
 
__rmul__ ()
 
__setitem__ ()
 
__str__ ()
 
append ()
 
clear ()
 
copy ()
 
insert ()
 
remove ()
 
setLength ()
 

Static Public Member Functions

__new__ ()
 

Properties

 sizeIncrement
 

Detailed Description

Array of MColor values.

The MColorArray class provides an array of MColor elements using a common array interface and reference semantics. See Working with M*Array Classes for more details.

 


Constructor & Destructor Documentation

OpenMaya.MColorArray.__init__ ( )
Initialize self.  See help(type(self)) for accurate signature.

Member Function Documentation

OpenMaya.MColorArray.__add__ ( )
Return self+value.
OpenMaya.MColorArray.__contains__ ( )
Return key in self.
OpenMaya.MColorArray.__delitem__ ( )
Delete self[key].
OpenMaya.MColorArray.__getitem__ ( )
Return self[key].
OpenMaya.MColorArray.__iadd__ ( )
Implement self+=value.
OpenMaya.MColorArray.__imul__ ( )
Implement self*=value.
OpenMaya.MColorArray.__len__ ( )
Return len(self).
OpenMaya.MColorArray.__mul__ ( )
Return self*value.
OpenMaya.MColorArray.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.
OpenMaya.MColorArray.__repr__ ( )
Return repr(self).
OpenMaya.MColorArray.__rmul__ ( )
Return value*self.
OpenMaya.MColorArray.__setitem__ ( )
Set self[key] to value.
OpenMaya.MColorArray.__str__ ( )
Return str(self).
OpenMaya.MColorArray.append ( )
Add a value to the end of the array.
OpenMaya.MColorArray.clear ( )
Remove all elements from the array.
OpenMaya.MColorArray.copy ( )
Replace the array contents with that of another or of a compatible Python sequence.
OpenMaya.MColorArray.insert ( )
Insert a new value into the array at the given index.
OpenMaya.MColorArray.remove ( )
Remove an element from the array.
OpenMaya.MColorArray.setLength ( )
Grow or shrink the array to contain a specific number of elements.

Property Documentation

OpenMaya.MColorArray.sizeIncrement
static
 Number of elements by which to grow the array when necessary.