class MVaryingParameterList

Jump to documentation

Geometric data cache. (OpenMayaRender) (OpenMayaRender.py)

public members:

MVaryingParameterList ()
~MVaryingParameterList ()
void append ( const MVaryingParameter & element)
int length () const
void setLength ( int n)
MVaryingParameter getElement ( int n) const
void setElement ( int n, const MVaryingParameter & p)
const MVaryingParameterList & operator= ( const MVaryingParameterList & other)

Documentation

This class holds the set of data elements which represent a Maya surface
Description

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

Functions

MVaryingParameterList:: MVaryingParameterList ()

Description

Create a new, empty list of varying parameters.

MVaryingParameterList:: ~MVaryingParameterList ()

Description

Class destructor.

const MVaryingParameterList & MVaryingParameterList:: operator= ( const MVaryingParameterList & src)

Description

Assignment operator

int MVaryingParameterList:: length () const

Description

Get the number of parameters in this list.

Arguments

  • None

Return Value

  • The number of parameters in this list.

void MVaryingParameterList:: setLength ( int n)

Description

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.

Arguments

  • The number of parameters in this list.

void MVaryingParameterList:: append ( const MVaryingParameter & element)

Description

Append a new parameter to this end of this list.

Arguments

  • child the new parameter to append

MVaryingParameter MVaryingParameterList:: getElement ( int n) const

Description

Get the nth parameter in this list.

Arguments

  • n the index of the element to return

Return Value

  • The nth parameter in the list

void MVaryingParameterList:: setElement ( int n, const MVaryingParameter & p)

Description

Get the nth parameter in this list.

Arguments

  • n the index of the element to return

Return Value

  • The nth parameter in the list

This class has no child classes.


Autodesk® Maya® 2008 © 1997-2007 Autodesk, Inc. All rights reserved. doc++ Copyright