unreal.ScriptableToolGizmoOptions

class unreal.ScriptableToolGizmoOptions(gizmo_mode: ScriptableToolGizmoMode = Ellipsis, translation_parts: int = 0, rotation_parts: int = 0, scale_parts: int = 0, coord_system: ScriptableToolGizmoCoordinateSystem = Ellipsis, snap_translation: bool = False, snap_rotation: bool = False, repositionable: bool = False, allow_negative_scaling: bool = False)

Bases: StructBase

FScriptableToolGizmoOptions is a configuration struct passed to the CreateTRSGizmo function of UScriptableInteractiveTool.

C++ Source:

  • Plugin: ScriptableToolsFramework

  • Module: ScriptableToolsFramework

  • File: ScriptableInteractiveTool.h

Editor Properties: (see get_editor_property/set_editor_property)

  • allow_negative_scaling (bool): [Read-Write]

  • coord_system (ScriptableToolGizmoCoordinateSystem): [Read-Write]

  • gizmo_mode (ScriptableToolGizmoMode): [Read-Write]

  • repositionable (bool): [Read-Write]

  • rotation_parts (int32): [Read-Write]

  • scale_parts (int32): [Read-Write]

  • snap_rotation (bool): [Read-Write]

  • snap_translation (bool): [Read-Write]

  • translation_parts (int32): [Read-Write]

property allow_negative_scaling: bool

[Read-Write]

Type:

(bool)

property coord_system: ScriptableToolGizmoCoordinateSystem

[Read-Write]

Type:

(ScriptableToolGizmoCoordinateSystem)

property gizmo_mode: ScriptableToolGizmoMode

[Read-Write]

Type:

(ScriptableToolGizmoMode)

property repositionable: bool

[Read-Write]

Type:

(bool)

property rotation_parts: int

[Read-Write]

Type:

(int32)

property scale_parts: int

[Read-Write]

Type:

(int32)

property snap_rotation: bool

[Read-Write]

Type:

(bool)

property snap_translation: bool

[Read-Write]

Type:

(bool)

property translation_parts: int

[Read-Write]

Type:

(int32)