#include <MFnNObjectData.h>
Class for transferring N object data between connections
Public Member Functions | |
virtual MFn::Type | type () const |
Function set type. | |
virtual | ~MFnNObjectData () |
Destructor. | |
MFnNObjectData () | |
Default constructor. | |
MFnNObjectData (MObject &object, MStatus *ReturnStatus=NULL) | |
Constructor. | |
MObject | create () const |
MStatus | getObjectPtr (MnCloth *&ptr) const |
MStatus | setObjectPtr (MnCloth *ptr) |
MStatus | getCollide (bool &) const |
MStatus | getCached (bool &cached) const |
MStatus | setCached (bool cached) |
MFnNObjectData (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 MFnNObjectData::type | ( | ) | const [virtual] |
const char * MFnNObjectData::className | ( | ) | const [protected, virtual] |
MObject MFnNObjectData::create | ( | ) | const |
Creates an underlying Maya N data object and return it as an MObject
Get the nObject pointer
[in] | ptr | Storage to return the pointer to the N cloth. |
Set the nCloth pointer
[in] | ptr | pointer to the N cloth |
MStatus MFnNObjectData::getCollide | ( | bool & | collide | ) | const |
Get wether the nObject is allowed to participate in collisions
[out] | collide | the collision state |
MStatus MFnNObjectData::getCached | ( | bool & | cached | ) | const |
Get wether the nObject is cached.
[out] | cached | the cache state |
MStatus MFnNObjectData::setCached | ( | bool | cached | ) |
Set wether the nObject is cached.
[in] | cached | the cache state |
Autodesk® Maya® 2009 © 1997-2008 Autodesk, Inc. All rights reserved. | Generated with 1.5.6 |