MAttributeParameterMappingList Class Reference
#include <MPxShadingNodeOverride.h>
A list of MAttributeParameterMapping objects.
A list of MAttributeParameterMapping objects. Ownership of mapping objects added to the list remains with the caller; the list makes a copy.
unsigned int length |
( |
| ) |
const |
Get the length of the list.
- Returns
- The length of the list
Get the mapping at the specified index.
- Parameters
-
[in] | index | The index of the mapping to get |
- Returns
- A pointer to the mapping or NULL if out of bounds
Find a mapping by attribute name.
This will return the first mapping found with a matching attribute name.
- Parameters
-
[in] | attributeName | The name of the attribute to search for |
- Returns
- A pointer to the mapping or NULL if not found
Find a mapping by parameter name.
This will return the first mapping found with a matching parameter name.
- Parameters
-
[in] | parameterName | The name of the parameter to search for |
- Returns
- A pointer to the mapping or NULL if not found
Add a mapping to the list.
The list makes a copy; ownership of the original is left with the caller.
- Parameters
-
[in] | mapping | The mapping to add to the list |
const char * className |
( |
| ) |
|
|
static |
Returns the name of this class.
- Returns
- Name of this class.
The documentation for this class was generated from the following files:
- MPxShadingNodeOverride.h
- MPxShadingNodeOverride.cpp