Interfaces > Core Interfaces > tmGizmos |
The tmGizmos Core Interface provides access to the properties of the Transform Gizmo introduced in 3ds Max 5.
Check whether the gizmo is enabled / Enable the gizmo.
Get/Set the labels visibility.
Get/set the opacity value of the gizmo plane.
Check whether the center box is enabled / Enable the center box.
Check whether planes are enabled / Enable the planes.
Get/set the plane handles’ size
Get/set the plane handles’ offset
Get/Set the type of the center box.
Check whether free rotation mode is enabled / Enable free rotation mode.
Check whether the screen handle is enabled / Enable the screen handle.
Check whether the uniform plane scaling mode is enabled / Enable the uniform plane scaling mode.
Get/Set the size of the uniform scale handle
Get/Set the size of the scale plane handle
Get/Set the rotation gizmo’s mode.
0 - "Linear Roll" mode - move the mouse along the tangents
1 - "Circular crank" mode - move the mouse around the center of the gizmo
2 - "Legacy R4" mode - old-style rotation
Get/Set the visibility of the rotations gizmo’s mini-tripod. When set to true, a tripod will be displayed as axis reference.
Get/Set the visibility of the rotations gizmo’s pie-slice. When set to true, a pie-slice will be displayed as angle reference.
Get/Set the visibility of the rotations gizmo’s angle value display. When set to true, a Point3 value will be displayed as angle reference above the gizmo.
Get/Set the rotation planar threshold value.
Get/Set the screen X coordinate of the rotation gizmo’s mouse click&drag position.
Get/Set the screen Y coordinate of the rotation gizmo’s mouse click&drag position.
Get/Set the X component of the rotation gizmo’s drag vector.
Get/Set the Y component of the rotation gizmo’s drag vector.
The following properties have been exposed to MAXScript in 3ds Max 5.1:
Toggle Multiple Transform Gizmos display on/off. When set to true and in Use Pivot Point Center mode, multiple gizmos, one per object, will be displayed. When set to false, only one gizmo for all objects will be displayed. Corresponds to the Allow multiple gizmos checkbox under Customize>Preferences>Gizmos>Transform Gizmos.
Get/Set the Move gizmo’s relative size
Get/Set the Rotate gizmo’s relative size
Get/Set the Scale gizmo’s relative size
Toggle Intersect Mode on/off. When set to true , Move and Rotate transformations will use Intersection mode. When set to false , Projection mode will be used. Corresponds to the radio buttons under Customize>Preferences>Gizmos>Move/Rotate Transforms.
Get/Set the Perspective Sensitivity value. Corresponds to the Pers.Sens. value under Customize>Preferences>Gizmos>Move/Rotate Transforms
Get/Set the Rotation Increment value. Corresponds to the Rotation Increment value under Customize>Preferences>Gizmos>Move/Rotate Transforms
Get/Set the Arc Rotate Snap Angle value. Corresponds to the Viewport Arc Rotate Snap Angle value under Customize>Preferences>Gizmos>Move/Rotate Transforms