#include <MFnVolumeAxisField.h>


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.
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 |
| MVector | direction (MStatus *ReturnStatus=NULL) const |
| double | speedAlongAxis (MStatus *ReturnStatus=NULL) const |
| double | speedAroundAxis (MStatus *ReturnStatus=NULL) const |
| double | speedAwayFromAxis (MStatus *ReturnStatus=NULL) const |
| double | speedAwayFromCenter (MStatus *ReturnStatus=NULL) const |
| double | directionalSpeed (MStatus *ReturnStatus=NULL) const |
| double | turbulence (MStatus *ReturnStatus=NULL) const |
| double | turbulenceSpeed (MStatus *ReturnStatus=NULL) const |
| MVector | turbulenceFrequency (MStatus *ReturnStatus=NULL) const |
| MVector | turbulenceOffset (MStatus *ReturnStatus=NULL) const |
| double | detailTurbulence (MStatus *ReturnStatus=NULL) const |
| MStatus | setInvertAttenuation (bool enable) |
| MStatus | setDirection (const MVector &direction) |
| MStatus | setSpeedAlongAxis (double value) |
| MStatus | setSpeedAroundAxis (double value) |
| MStatus | setSpeedAwayFromAxis (double value) |
| MStatus | setSpeedAwayFromCenter (double value) |
| MStatus | setDirectionalSpeed (double value) |
| MStatus | setTurbulence (double value) |
| MStatus | setTurbulenceSpeed (double value) |
| MStatus | setTurbulenceFrequency (const MVector &value) |
| MStatus | setTurbulenceOffset (const MVector &value) |
| MStatus | detailTurbulence (double value) |
| MFnVolumeAxisField (const MObject &object, MStatus *ret=NULL) | |
| Constructor. | |
Protected Member Functions | |
| virtual const char * | className () const |
| Class name. | |
| MFnVolumeAxisField::~MFnVolumeAxisField | ( | ) | [virtual] |
Destructor.
Class destructor.
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 constant MDagPath object.
| [in] | object | The const MDagPath 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 MFnVolumeAxisField::type | ( | ) | const [virtual] |
| bool MFnVolumeAxisField::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 MFnVolumeAxisField::speedAlongAxis | ( | MStatus * | ReturnStatus = NULL |
) | const |
Returns the alongAxis attribute of the field.
| [out] | ReturnStatus | Status code |
| double MFnVolumeAxisField::speedAroundAxis | ( | MStatus * | ReturnStatus = NULL |
) | const |
Returns the aroundAxis attribute of the field.
| [out] | ReturnStatus | Status code |
| double MFnVolumeAxisField::speedAwayFromAxis | ( | MStatus * | ReturnStatus = NULL |
) | const |
Returns the awayFromAxis attribute of the field.
| [out] | ReturnStatus | Status code |
| double MFnVolumeAxisField::speedAwayFromCenter | ( | MStatus * | ReturnStatus = NULL |
) | const |
Returns the awayFromCenter attribute of the field.
| [out] | ReturnStatus | Status code |
| double MFnVolumeAxisField::directionalSpeed | ( | MStatus * | ReturnStatus = NULL |
) | const |
Returns the directionalSpeed attribute of the field.
| [out] | ReturnStatus | Status code |
| double MFnVolumeAxisField::turbulence | ( | MStatus * | ReturnStatus = NULL |
) | const |
Returns the turbulence intensity of the field.
| [out] | ReturnStatus | Status code |
| double MFnVolumeAxisField::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 MFnVolumeAxisField::detailTurbulence | ( | MStatus * | ReturnStatus = NULL |
) | const |
Returns the intensity of a second higher frequency turbulence.
| [out] | ReturnStatus | Status code |
| MStatus MFnVolumeAxisField::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 MFnVolumeAxisField::setSpeedAlongAxis | ( | double | speed | ) |
Sets the speed along axis attribute for the field force.
| [in] | speed | A double representing the speed along axis. |
| MStatus MFnVolumeAxisField::setSpeedAroundAxis | ( | double | speed | ) |
Sets the speed around axis attribute for the field force.
| [in] | speed | A double representing the speed around axis. |
| MStatus MFnVolumeAxisField::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 MFnVolumeAxisField::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 MFnVolumeAxisField::setDirectionalSpeed | ( | double | speed | ) |
Sets the directional speed attribute for the field force.
| [in] | speed | A double representing the directional speed. |
| MStatus MFnVolumeAxisField::setTurbulence | ( | double | value | ) |
Sets the turbulence attribute for the field force.
| [in] | value | A double representing the turbulence intensity. |
| MStatus MFnVolumeAxisField::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 MFnVolumeAxisField::detailTurbulence | ( | double | value | ) |
Sets the detailTurbulence attribute for the field force.
| [in] | value | A double representing the intensity of a second higher frequency turbulence. |
| Autodesk® Maya® 2010 © 1997-2009 Autodesk, Inc. All rights reserved. |
Generated with
|