unreal.GizmosParameters

class unreal.GizmosParameters

Bases: StructBase

Gizmos Parameters

C++ Source:

  • Module: EditorInteractiveToolsFramework

  • File: TransformGizmo.h

Editor Properties: (see get_editor_property/set_editor_property)

  • additive_indirect_axes (bool): [Read-Write] When enabled, Ctrl+clicking multiple mouse buttons allows you to indirectly manipulate multiple axes at once.

  • debug (GizmoDebugSettings): [Read-Write]

  • drag_duplicate_on_rotation (bool): [Read-Write] When enabled, drag duplication will work on both translation and rotation (currently Level Editor only).

  • enable_explicit (bool): [Read-Write] When enabled, the list of coordinate spaces in the viewport toolbar offers rig space: a coordinate system that is similar to parent space but uses gimbal rotations.

  • interaction (TransformGizmoInteraction): [Read-Write]

  • persist_handle_selection (bool): [Read-Write] Whether to allow persistent handle selection. If disabled, implicit indirect modification will also be disabled. Explicit (ctrl+mouse) will still work.

  • rotate_mode (AxisRotateMode): [Read-Write] Determines how dragging the rotate gizmo affects the selected objects

  • scale_type (GizmoTransformScaleType): [Read-Write] Determines how scale is calculated when applied.

  • screen_space_indirect_orthographic_manipulation (bool): [Read-Write] When enabled and in an orthographic view, Ctrl+LMB-Drag will move or scale in screen space, and Ctrl+RMB-Drag will rotate in screen space.

  • screen_space_nudge (bool): [Read-Write] When enabled, translate and scale nudging will be done based on camera view angle (nudge to the right will try to match what’s “right” on the screen). When option is disabled, controls will be axis-based: Left/Right will control X, Up/Down will control Y, secondary Up/Down will control Z. Rotation nudging always does axis-based controls.

  • sequential_indirect_axes_buttons (bool): [Read-Write] When disabled, Ctrl+LMB manipulates X, Ctrl+RMB manipulates Y, and Ctrl+LMB+RMB or Ctrl+MMB manipulates Z. When enabled LMB is mapped to X, MMB is mapped to Y, and RMB is mapped to Z.

  • style (TransformGizmoStyle): [Read-Write]

  • uniform_indirect_scale (bool): [Read-Write] When enabled, all indirect scale manipulations will trigger uniform scaling