#include <MFnContainerNode.h>


MFnContainerNode is the function set for creating, querying and editing containers.
Maya uses container nodes to bundle sets of related nodes together with a published attribute list that defined the primary interface to those nodes. This class allows you to query information about container nodes in the Maya scene.
Public Member Functions | |
| virtual MFn::Type | type () const |
| Function set type. | |
| virtual | ~MFnContainerNode () |
| Destructor. | |
| MFnContainerNode () | |
| Default constructor. | |
| MFnContainerNode (MObject &object, MStatus *ReturnStatus=NULL) | |
| Constructor. | |
| MStatus | getPublishedPlugs (MPlugArray &publishedPlugs, MStringArray &publishedNames) const |
| MStatus | getMembers (MObjectArray &members) const |
| MStatus | getSubcontainers (MObjectArray &members) const |
| MStatus | getParentContainer (MObject &parent) const |
| MFnContainerNode (const MObject &object, MStatus *ReturnStatus=NULL) | |
| Constructor. | |
Protected Member Functions | |
| virtual const char * | className () const |
| Class name. | |
Constructor.
Class constructor that initializes the function set to the given MObject.
| [in] | object | The MObject to attach the function set to |
| [out] | ReturnStatus | the return status |
Constructor.
Class constructor that initializes the function set to the given MObject.
| [in] | object | The MObject to attach the function set to |
| [out] | ReturnStatus | the return status |
| MFn::Type MFnContainerNode::type | ( | ) | const [virtual] |
| const char * MFnContainerNode::className | ( | ) | const [protected, virtual] |
| MStatus MFnContainerNode::getPublishedPlugs | ( | MPlugArray & | publishedPlugs, | |
| MStringArray & | publishedNames | |||
| ) | const |
Return two arrays: the first contains the plugs that have been published on this container. The second contains that published names for those plugs. There is a one-to-one correspondence between the plugs in the first array and the strings in the second.
| [in] | publishedPlugs | array to store the result plugs |
| [in] | publishedNames | array to store the result names |
| MStatus MFnContainerNode::getMembers | ( | MObjectArray & | members | ) | const |
Return an array of the nodes included in this container.
| [in] | members | array to store the result nodes |
| MStatus MFnContainerNode::getSubcontainers | ( | MObjectArray & | subcontainers | ) | const |
Return an array of the container nodes included in this container.
| [in] | subcontainers | array to store the result nodes |
Return the parent container, if there is one. Otherwise return an empty MObject
| [in] | parent | parent container, if found |
| Autodesk® Maya® 2009 © 1997-2008 Autodesk, Inc. All rights reserved. |
Generated with
|