#include
<MFnLatticeData.h>
This simple function set is used to create lattice data objects that can be transmitted through the dependency graph. It can also be used to extract the lattice geometry from the data object.
See MDataHandle and MDataBlock for more information about getting and setting data in the dependency graph.
Public Member Functions |
|
virtual MFn::Type | type () const |
Function set type. |
|
virtual | ~MFnLatticeData () |
Destructor. |
|
MFnLatticeData () | |
Default constructor. |
|
MFnLatticeData (MObject &object, MStatus *ReturnStatus=NULL) | |
Constructor. |
|
MObject | create (MStatus *ReturnStatus=NULL) |
MObject | lattice (MStatus *ReturnStatus=NULL) |
MFnLatticeData (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 MFnLatticeData::type | ( | ) | const [virtual] |
const char * MFnLatticeData::className | ( | ) | const [protected, virtual] |
This method create a new lattice data object for use with the dependency graph. A node's lattice attribute may be set with this object using MDataHandle.
[out] | ReturnStatus | return status |
Returns the lattice geometry so that it may be modified using the MFnLattice function set.
It is possible that the data object will be NULL, indicating that the data handle (MDataHandle) or plug (MPlug) that owns this data has not initialized it. In this case, the create method of this function set can be used to create a new data object that can be used to set the data handle or plug.
[out] | ReturnStatus | return status |
Autodesk® Maya® 2011 © 1997-2010 Autodesk, Inc. All rights reserved. | Generated with 1.5.6 |