MPxAttributePatternFactory Class Reference
#include <MPxAttributePatternFactory.h>
Base class for user-defined attribute pattern factories.
MPxAttributePatternFactory is the parent class of all user defined attribute pattern factories.
This class can be used to implement new kinds of attribute pattern factories within Maya that behave in a similar manner to the attribute pattern factories included in Maya.
Call this to define a new attribute pattern using the pattern factory format definition passed in through the string parameter.
No default implementation is available.
- Parameters
-
[in] | patternString | The pattern definition |
[out] | createdPatterns | List of attribute patterns created from the string |
- Returns
- MS::kFailure Patterns could not be created.
- MS::kSuccess Patterns were successfully created.
Call this to define a new attribute pattern using the pattern factory format definition passed in through the contents of the file in the parameter.
No default implementation is available.
- Parameters
-
[in] | patternPath | The file name to be expanded |
[out] | createdPatterns | List of attribute patterns created from the file |
- Returns
- MS::kFailure Patterns could not be created.
- MS::kSuccess Patterns were successfully created.
Return the name of the pattern factory.
It's merely an identification for the commands operating on pattern factories and has no significance beyond that.
- Returns
- Name of the plugin pattern factory
const char * className |
( |
| ) |
|
|
static |
Returns the name of this class.
- Returns
- The name of this class.
The documentation for this class was generated from the following files:
- MPxAttributePatternFactory.h
- MPxAttributePatternFactory.cpp