Go to: Synopsis. Return value. Related. Flags. MEL examples.
jointDisplayScale [-absolute] [-ikfk float]
float
jointDisplayScale is undoable, queryable, and editable.
This action modifies and queries the current display size of
skeleton joints. The joint display size is controlled by a
scale factor; a scale factor of 1 sets the display size to its
default, which is 1 in diameter.
With the plain format, the float argument is the factor with
respect to the default size. When -a/absolute is used, the
float argument refers to the diameter of the joint
display size.
float | Returns current display size of skeleton joints. |
In query mode, return type is based on queried flag.
connectJoint, ikHandle, ikHandleDisplayScale, ikSolver, ikSystem, ikSystemInfo, insertJoint, joint, jointCluster, jointLattice, mirrorJoint, removeJoint
absolute, ikfk
Long name (short name) |
Argument types |
Properties |
|
-absolute(-a)
|
|
|
|
Interpret the float argument as the display size as
opposed to the scale factor.
|
|
-ikfk(-ik)
|
float
|
|
|
Set the display size of ik/fk skeleton joints.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
// Half the display size with respect to the default size.
//
jointDisplayScale 0.5;
// Set the display diameter of the joint to 2 linear units.
//
jointDisplayScale -a 2.0;
// Set the display diameter of ik/fk joints to 2 linear units.
//
jointDisplayScale -a -ik 2.0;