class counterpart of mel function uniform
A uniform field pushes objects in a fixed direction. The field strength, but not the field direction, depends on the distance from the object to the field location. 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 direction the uniform field pushes objects.
Return type: | Vector |
---|
Derived from api method maya.OpenMayaFX.MFnUniformField.direction
X-component of direction.
Derived from mel command maya.cmds.uniform
Y-component of direction.
Derived from mel command maya.cmds.uniform
Z-component of direction Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command maya.cmds.uniform
Derived from mel command maya.cmds.uniform
Derived from mel command maya.cmds.uniform
Derived from mel command maya.cmds.uniform
Derived from mel command maya.cmds.uniform
Derived from mel command maya.cmds.uniform
Sets the direction the uniform field pushes objects.
Parameters : |
|
---|
Derived from api method maya.OpenMayaFX.MFnUniformField.setDirection
X-component of direction.
Derived from mel command maya.cmds.uniform
Y-component of direction.
Derived from mel command maya.cmds.uniform
Z-component of direction Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command maya.cmds.uniform
Derived from mel command maya.cmds.uniform
Derived from mel command maya.cmds.uniform
Derived from mel command maya.cmds.uniform
Derived from mel command maya.cmds.uniform
Derived from mel command maya.cmds.uniform