Function set for VolumeAxis Fields.
Function set for creation, edit, and query of VolumeAxis Fields.
A volume axis field provides in field form some of the speed controls of volume emitters.
#include <MFnVolumeAxisField.h>
Public Member Functions |
|
virtual MFn::Type | type () const |
Function set type. |
|
virtual | ~MFnVolumeAxisField () |
Destructor. |
|
MFnVolumeAxisField () | |
Default constructor. |
|
MFnVolumeAxisField (MObject &object, MStatus *ReturnStatus=NULL) | |
Constructor. |
|
MFnVolumeAxisField (const MDagPath &object, MStatus *ret=NULL) | |
Constructor. |
|
bool | invertAttenuation (MStatus *ReturnStatus=NULL) const |
Returns the value of the invertAttenuation
attribute for the field force. |
|
MVector | direction (MStatus *ReturnStatus=NULL) const |
Returns the direction attribute for the
field force. |
|
double | speedAlongAxis (MStatus *ReturnStatus=NULL) const |
Returns the alongAxis attribute of the
field. |
|
double | speedAroundAxis (MStatus *ReturnStatus=NULL) const |
Returns the aroundAxis attribute of the
field. |
|
double | speedAwayFromAxis (MStatus *ReturnStatus=NULL) const |
Returns the awayFromAxis attribute of the
field. |
|
double | speedAwayFromCenter (MStatus *ReturnStatus=NULL) const |
Returns the awayFromCenter attribute of the
field. |
|
double | directionalSpeed (MStatus *ReturnStatus=NULL) const |
Returns the directionalSpeed attribute of
the field. |
|
double | turbulence (MStatus *ReturnStatus=NULL) const |
Returns the turbulence intensity of the
field. |
|
double | turbulenceSpeed (MStatus *ReturnStatus=NULL) const |
Returns the rate of change of the turbulence
over time. |
|
MVector | turbulenceFrequency (MStatus *ReturnStatus=NULL) const |
Returns the turbulenceFrequency attribute
for the field force. |
|
MVector | turbulenceOffset (MStatus *ReturnStatus=NULL) const |
Returns the turbulenceOffset attribute for
the field force. |
|
double | detailTurbulence (MStatus *ReturnStatus=NULL) const |
Returns the intensity of a second higher
frequency turbulence. |
|
MStatus | setInvertAttenuation (bool enable) |
Enables the field will be stronger the
closer to the edge of the volume a point is. |
|
MStatus | setDirection (const MVector &direction) |
Sets the direction attribute for the field
force. |
|
MStatus | setSpeedAlongAxis (double value) |
Sets the speed along axis attribute for the
field force. |
|
MStatus | setSpeedAroundAxis (double value) |
Sets the speed around axis attribute for the
field force. |
|
MStatus | setSpeedAwayFromAxis (double value) |
Sets the speed away from axis attribute for
the field force. |
|
MStatus | setSpeedAwayFromCenter (double value) |
Sets the speed away from center attribute
for the field force. |
|
MStatus | setDirectionalSpeed (double value) |
Sets the directional speed attribute for the
field force. |
|
MStatus | setTurbulence (double value) |
Sets the turbulence attribute for the field
force. |
|
MStatus | setTurbulenceSpeed (double value) |
Sets the turbulence speed attribute for the
field force. |
|
MStatus | setTurbulenceFrequency (const MVector &value) |
Sets the turbulenceFrequency attribute for
the field force. |
|
MStatus | setTurbulenceOffset (const MVector &value) |
Sets the turbulenceOffset attribute for the
field force. |
|
MStatus | detailTurbulence (double value) |
Sets the detailTurbulence attribute for the
field force. |
|
MFnVolumeAxisField (const MObject &object, MStatus *ret=NULL) | |
Constructor. |
|
Protected Member Functions |
|
virtual const char * | className () const |
Class name. |
~MFnVolumeAxisField | ( | ) | [virtual] |
Destructor.
Class destructor.
MFnVolumeAxisField | ( | 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 |
MFnVolumeAxisField | ( | 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 |
MFnVolumeAxisField | ( | 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] |
bool invertAttenuation | ( | MStatus * | ReturnStatus =
NULL |
) | const |
Returns the value of the invertAttenuation attribute for the field force.
[out] | ReturnStatus | Status code |
Returns the direction attribute for the field force.
[out] | ReturnStatus | Status code |
double speedAlongAxis | ( | MStatus * | ReturnStatus =
NULL |
) | const |
Returns the alongAxis attribute of the field.
[out] | ReturnStatus | Status code |
double speedAroundAxis | ( | MStatus * | ReturnStatus =
NULL |
) | const |
Returns the aroundAxis attribute of the field.
[out] | ReturnStatus | Status code |
double speedAwayFromAxis | ( | MStatus * | ReturnStatus =
NULL |
) | const |
Returns the awayFromAxis attribute of the field.
[out] | ReturnStatus | Status code |
double speedAwayFromCenter | ( | MStatus * | ReturnStatus =
NULL |
) | const |
Returns the awayFromCenter attribute of the field.
[out] | ReturnStatus | Status code |
double directionalSpeed | ( | MStatus * | ReturnStatus =
NULL |
) | const |
Returns the directionalSpeed attribute of the field.
[out] | ReturnStatus | Status code |
double turbulence | ( | MStatus * | ReturnStatus =
NULL |
) | const |
Returns the turbulence intensity of the field.
[out] | ReturnStatus | Status code |
double turbulenceSpeed | ( | MStatus * | ReturnStatus =
NULL |
) | const |
Returns the rate of change of the turbulence over time.
[out] | ReturnStatus | Status code |
Returns the turbulenceFrequency attribute for the field force.
[out] | ReturnStatus | Status code |
Returns the turbulenceOffset attribute for the field force.
[out] | ReturnStatus | Status code |
double detailTurbulence | ( | MStatus * | ReturnStatus =
NULL |
) | const |
Returns the intensity of a second higher frequency turbulence.
[out] | ReturnStatus | Status code |
MStatus setInvertAttenuation | ( | bool | enable | ) |
Enables the field will be stronger the closer to the edge of the volume a point is.
[in] | enable | Flag to invert falloff of intensity. |
Sets the direction attribute for the field force.
[in] | direction | A vector representing direction. |
MStatus setSpeedAlongAxis | ( | double | speed | ) |
Sets the speed along axis attribute for the field force.
[in] | speed | A double representing the speed along axis. |
MStatus setSpeedAroundAxis | ( | double | speed | ) |
Sets the speed around axis attribute for the field force.
[in] | speed | A double representing the speed around axis. |
MStatus setSpeedAwayFromAxis | ( | double | speed | ) |
Sets the speed away from axis attribute for the field force.
[in] | speed | A double representing the speed away from axis. |
MStatus setSpeedAwayFromCenter | ( | double | speed | ) |
Sets the speed away from center attribute for the field force.
[in] | speed | A double representing the speed away from center. |
MStatus setDirectionalSpeed | ( | double | speed | ) |
Sets the directional speed attribute for the field force.
[in] | speed | A double representing the directional speed. |
MStatus setTurbulence | ( | double | value | ) |
Sets the turbulence attribute for the field force.
[in] | value | A double representing the turbulence intensity. |
MStatus setTurbulenceSpeed | ( | double | value | ) |
Sets the turbulence speed attribute for the field force.
[in] | value | A double representing the rate of change of the turbulence. |
Sets the turbulenceFrequency attribute for the field force.
[in] | value | A vector representing the frequency of turbulence. |
Sets the turbulenceOffset attribute for the field force.
[in] | value | A vector representing the translation of turbulence. |
MStatus detailTurbulence | ( | double | value | ) |
Sets the detailTurbulence attribute for the field force.
[in] | value | A double representing the intensity of a second higher frequency turbulence. |