Python API 2.0 Reference
|
Public Member Functions | |
def | __getitem__ () |
def | __init__ () |
def | __len__ () |
def | append () |
def | copy () |
def | setElement () |
def | setLength () |
Static Public Member Functions | |
def | __new__ () |
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.
def OpenMayaRender.MVaryingParameterList.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
def OpenMayaRender.MVaryingParameterList.__getitem__ | ( | ) |
Return self[key].
def OpenMayaRender.MVaryingParameterList.__len__ | ( | ) |
Return len(self).
|
static |
Create and return a new object. See help(type) for accurate signature.
def OpenMayaRender.MVaryingParameterList.append | ( | ) |
append(element) -> bool Append a new parameter to this end of this list. * element (MVaryingParameter) - The new parameter to append
def OpenMayaRender.MVaryingParameterList.copy | ( | ) |
copy(source) -> self Copy data from source list. * source (MVaryingParameterList) - The source list to copy from
def 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
def 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.