OpenMayaRender.MUniformParameterList Class Reference

Class Description

MUniformParameterList specify the list of uniform shader parameters 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.
+ Inheritance diagram for OpenMayaRender.MUniformParameterList:

Public Member Functions

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

Constructor & Destructor Documentation

OpenMayaRender.MUniformParameterList.__init__ ( )
x.__init__(...) initializes x; see help(type(x)) for signature

Member Function Documentation

OpenMayaRender.MUniformParameterList.__getitem__ ( )
x.__getitem__(y) <==> x[y]
OpenMayaRender.MUniformParameterList.__len__ ( )
x.__len__() <==> len(x)
OpenMayaRender.MUniformParameterList.append ( )
append(element) -> bool

Append a new parameter to this end of this list.

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

Copy data from source list.

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

Set the nth parameter in this list.

* n (int) - The index of the element to set
* element (MUniformParameter) - The value to set
OpenMayaRender.MUniformParameterList.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.

The documentation for this class was generated from the following file:
  • D:/Maya-MD-Merge/input/python/2.0/OpenMayaRender.py