class counterpart of mel function volumeAxis
A volume axis field can push particles in four directions, defined with respect to a volume: along the axis, away from the axis or center, around the axis, and in a user-specified direction. These are analogous to the emission speed controls of volume emitters. The volume axis field also contains a wind turbulence model (different from the turbulence field) that simulates an evolving flow of liquid or gas. The turbulence has a build in animation that is driven by a connection to a time node. The transform is the associated dependency node. Use connectDynamic to cause the field to affect a dynamic object. If fields are created, this command returns the names of each of the fields. If a field was queried, the results of the query are returned. If a field was edited, the field name is returned. If object names are provided or the active selection list is non-empty, the command creates a field for every object in the list and calls addDynamic to add it to the object. If the list is empty, the command defaults to -pos 0 0 0. Setting the -pos flag with objects named on the command line is an error.
Returns the intensity of a second higher frequency turbulence.
Return type: | float |
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.detailTurbulence
The relative intensity of a second higher frequency turbulence. This can be used to create fine features in large scale flows. Both the speed and the frequency on this second turbulence are higher than the primary turbulence. When the detailTurbulence is non-zero the simulation may run a bit slower, due to the computation of a second turbulence.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command maya.cmds.volumeAxis
Returns the direction attribute for the field force.
Return type: | Vector |
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.direction
x-component of force direction. Used with directional speed.
Derived from mel command maya.cmds.volumeAxis
y-component of force direction. Used with directional speed.
Derived from mel command maya.cmds.volumeAxis
z-component of force direction. Used with directional speed.
Derived from mel command maya.cmds.volumeAxis
Returns the directionalSpeed attribute of the field.
Return type: | float |
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.directionalSpeed
Returns the value of the invertAttenuation attribute for the field force.
Return type: | bool |
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.invertAttenuation
Returns the alongAxis attribute of the field.
Return type: | float |
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.speedAlongAxis
Returns the aroundAxis attribute of the field.
Return type: | float |
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.speedAroundAxis
Returns the awayFromAxis attribute of the field.
Return type: | float |
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.speedAwayFromAxis
Returns the awayFromCenter attribute of the field.
Return type: | float |
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.speedAwayFromCenter
Derived from mel command maya.cmds.volumeAxis
Returns the turbulence intensity of the field.
Return type: | float |
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.turbulence
Returns the turbulenceFrequency attribute for the field force.
Return type: | Vector |
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.turbulenceFrequency
The repeats of the turbulence function in X.
Derived from mel command maya.cmds.volumeAxis
The repeats of the turbulence function in Y.
Derived from mel command maya.cmds.volumeAxis
The repeats of the turbulence function in Z.
Derived from mel command maya.cmds.volumeAxis
Returns the turbulenceOffset attribute for the field force.
Return type: | Vector |
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.turbulenceOffset
The translation of the turbulence function in X.
Derived from mel command maya.cmds.volumeAxis
The translation of the turbulence function in Y.
Derived from mel command maya.cmds.volumeAxis
The translation of the turbulence function in Z.
Derived from mel command maya.cmds.volumeAxis
Returns the rate of change of the turbulence over time.
Return type: | float |
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.turbulenceSpeed
Derived from mel command maya.cmds.volumeAxis
Derived from mel command maya.cmds.volumeAxis
Derived from mel command maya.cmds.volumeAxis
Derived from mel command maya.cmds.volumeAxis
The relative intensity of a second higher frequency turbulence. This can be used to create fine features in large scale flows. Both the speed and the frequency on this second turbulence are higher than the primary turbulence. When the detailTurbulence is non-zero the simulation may run a bit slower, due to the computation of a second turbulence.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command maya.cmds.volumeAxis
Sets the direction attribute for the field force.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.setDirection
x-component of force direction. Used with directional speed.
Derived from mel command maya.cmds.volumeAxis
y-component of force direction. Used with directional speed.
Derived from mel command maya.cmds.volumeAxis
z-component of force direction. Used with directional speed.
Derived from mel command maya.cmds.volumeAxis
Sets the directional speed attribute for the field force.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.setDirectionalSpeed
Enables the field will be stronger the closer to the edge of the volume a point is.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.setInvertAttenuation
Sets the speed along axis attribute for the field force.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.setSpeedAlongAxis
Sets the speed around axis attribute for the field force.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.setSpeedAroundAxis
Sets the speed away from axis attribute for the field force.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.setSpeedAwayFromAxis
Sets the speed away from center attribute for the field force.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.setSpeedAwayFromCenter
Derived from mel command maya.cmds.volumeAxis
Sets the turbulence attribute for the field force.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.setTurbulence
Sets the turbulenceFrequency attribute for the field force.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.setTurbulenceFrequency
The repeats of the turbulence function in X.
Derived from mel command maya.cmds.volumeAxis
The repeats of the turbulence function in Y.
Derived from mel command maya.cmds.volumeAxis
The repeats of the turbulence function in Z.
Derived from mel command maya.cmds.volumeAxis
Sets the turbulenceOffset attribute for the field force.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.setTurbulenceOffset
The translation of the turbulence function in X.
Derived from mel command maya.cmds.volumeAxis
The translation of the turbulence function in Y.
Derived from mel command maya.cmds.volumeAxis
The translation of the turbulence function in Z.
Derived from mel command maya.cmds.volumeAxis
Sets the turbulence speed attribute for the field force.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnVolumeAxisField.setTurbulenceSpeed
Derived from mel command maya.cmds.volumeAxis
Derived from mel command maya.cmds.volumeAxis
Derived from mel command maya.cmds.volumeAxis
Derived from mel command maya.cmds.volumeAxis