unreal.ToolContextTransformGizmoMode

class unreal.ToolContextTransformGizmoMode

Bases: EnumBase

High-level configuration options for a standard 3D translate/rotate/scale Gizmo, like is commonly used in 3D DCC tools, game editors, etc This is meant to be used to convey UI-level settings to Tools/Gizmos, eg like the W/E/R toggles for Rranslate/Rotate/Scale in Maya or UE Editor. More granular control over precise gizmo elements is available through other mechanisms, eg the ETransformGizmoSubElements flags in UCombinedTransformGizmo

C++ Source:

  • Module: InteractiveToolsFramework

  • File: ToolContextInterfaces.h

COMBINED: ToolContextTransformGizmoMode

Show all available Gizmo sub-elements

Type:

8

NO_GIZMO: ToolContextTransformGizmoMode

Hide all Gizmo sub-elements

Type:

0

ROTATION: ToolContextTransformGizmoMode

Only Show Rotation sub-elements

Type:

2

SCALE: ToolContextTransformGizmoMode

Only Show Scale sub-elements

Type:

3

TRANSLATION: ToolContextTransformGizmoMode

Only Show Translation sub-elements

Type:

1