Python API 2.0 Reference
OpenMayaRender.MUniformParameterList Class Reference
+ Inheritance diagram for OpenMayaRender.MUniformParameterList:

Public Member Functions

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

Static Public Member Functions

def __new__ ()
 

Detailed 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.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Append a new parameter to this end of this list.

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

Copy data from source list.

* source (MUniformParameterList) - The source list to copy from
def 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
def 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.