Returns falloff given the param in [0,1]. This is enabled if the use the maximum distance is enabled.
Parameters : |
|
---|---|
Return type: | float |
Derived from api method maya.OpenMayaFX.MFnField.falloffCurve
Returns the rate of change where the strength of the field changes as the distance between the field and the affected object increases.
Return type: | float |
---|
Derived from api method maya.OpenMayaFX.MFnField.attenuation
Compute the force of a field on an array of points, given their position, velocity, and mass. Note that only the Air and Vortex fields require a time increment to compute forces, all other fields will ignore this argument.
Parameters : |
|
---|---|
Return type: | Vector list |
Derived from api method maya.OpenMayaFX.MFnField.getForceAtPoint
Returns the strength of the field.
Return type: | float |
---|
Derived from api method maya.OpenMayaFX.MFnField.magnitude
Returns the maximum distance from the field at which the force of the field is exerted. The Use Max Distance setting must be turned on for maximum distance to take effect. The maximum distance is scaled by the falloff curve’s non-zero range.
Return type: | float |
---|
Derived from api method maya.OpenMayaFX.MFnField.maxDistance
Returns true if the field exerts its force on each individual point (cv, particle, vertex) equally. Returns false if the force is exerted only from the geometric center of the object or set of points.
Return type: | bool |
---|
Derived from api method maya.OpenMayaFX.MFnField.perVertex
Returns true if the field will use the maximum distance setting to determine the area of influence.
Return type: | bool |
---|
Derived from api method maya.OpenMayaFX.MFnField.useMaxDistance
Returns true if falloffCurve is a constant one (default) or false if not.
Return type: | bool |
---|
Derived from api method maya.OpenMayaFX.MFnField.isFalloffCurveConstantOne
Sets the rate of change where the strength of the field changes as the distance between the field and the affected object increases.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnField.setAttenuation
Sets the strength of the field.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnField.setMagnitude
Sets the maximum distance from the field at which the force of the field is exerted. The Use Max Distance setting must be turned on for maximum distance to take effect.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnField.setMaxDistance
Enables the field to exert its force on each individual point (cv, particle, vertex) equally. Otherwise, the force is exerted only from the geometric center of the object or set of points.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnField.setPerVertex
Enables the field to use the maximum distance setting to determine the area of influence.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnField.setUseMaxDistance