Function set for Uniform Fields.
Function set for creation, edit, and query of Uniform Fields.
A uniform field pushes objects uniformly in a single direction.
#include <MFnUniformField.h>
Public Member Functions |
|
virtual MFn::Type | type () const |
Function set type. |
|
virtual | ~MFnUniformField () |
Destructor. |
|
MFnUniformField () | |
Default constructor. |
|
MFnUniformField (MObject &object, MStatus *ReturnStatus=NULL) | |
Constructor. |
|
MFnUniformField (const MDagPath &object, MStatus *ret=NULL) | |
Constructor. |
|
MVector | direction (MStatus *ReturnStatus=NULL) const |
Returns the direction the uniform field
pushes objects. |
|
MStatus | setDirection (const MVector &uniformDirection) |
Sets the direction the uniform field pushes
objects. |
|
MFnUniformField (const MObject &object, MStatus *ret=NULL) | |
Constructor. |
|
Protected Member Functions |
|
virtual const char * | className () const |
Class name. |
~MFnUniformField | ( | ) | [virtual] |
Destructor.
Class destructor.
MFnUniformField | ( | MObject & | object, |
MStatus * | ReturnStatus =
NULL |
||
) |
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 |
MFnUniformField | ( | const MDagPath & | object, |
MStatus * | ReturnStatus =
NULL |
||
) |
Constructor.
Class constructor that initializes the function set to the given constant MDagPath object.
[in] | object | The const MDagPath to attach the function set to |
[out] | ReturnStatus | The return status |
MFnUniformField | ( | const MObject & | object, |
MStatus * | ReturnStatus =
NULL |
||
) |
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 type | ( | ) | const [virtual] |
Returns the direction the uniform field pushes objects.
[out] | ReturnStatus | Status code |
Sets the direction the uniform field pushes objects.
[in] | uniformDirection | A vector representing direction. |