Python API 2.0 Reference: OpenMayaRender.MVaryingParameterList Class Reference

OpenMayaRender.MVaryingParameterList Class Reference
+ Inheritance diagram for OpenMayaRender.MVaryingParameterList:

Public Member Functions

__getitem__ ()
 
__init__ ()
 
__len__ ()
 
append ()
 
copy ()
 
setElement ()
 
setLength ()
 

Static Public Member Functions

__new__ ()
 

Detailed Description

MVaryingParameterList specify the surface component level data used by a hardware shader, allowing Maya to handle setting up the node and user interfaces to the data, the population and access of cached data, etc.

Constructor & Destructor Documentation

OpenMayaRender.MVaryingParameterList.__init__ ( )
Initialize self.  See help(type(self)) for accurate signature.

Member Function Documentation

OpenMayaRender.MVaryingParameterList.__getitem__ ( )
Return self[key].
OpenMayaRender.MVaryingParameterList.__len__ ( )
Return len(self).
OpenMayaRender.MVaryingParameterList.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.
OpenMayaRender.MVaryingParameterList.append ( )
append(element) -> bool

Append a new parameter to this end of this list.

* element (MVaryingParameter) - The new parameter to append
OpenMayaRender.MVaryingParameterList.copy ( )
copy(source) -> self

Copy data from source list.

* source (MVaryingParameterList) - The source list to copy from
OpenMayaRender.MVaryingParameterList.setElement ( )
setElement(n, element) -> bool

Set the nth parameter in this list.

* n (int) - The index of the element to set
* element (MVaryingParameter) - The value to set
OpenMayaRender.MVaryingParameterList.setLength ( )
setLength(length) -> bool

Set the number of parameters in this list. If this is greater than the current number of parameters in the list, the caller is responsible for setting the new parameters to valid values using setElement.

* length (int) - The number of parameters in this list.