unreal.GizmoElementTranslateStyle

class unreal.GizmoElementTranslateStyle

Bases: GizmoStyleBase

Composite style for the entire translation gizmo, combining axis, planar, and uniform sub-styles with shared delta visual settings.

C++ Source:

  • Module: EditorInteractiveToolsFramework

  • File: GizmoElementTranslate.h

Editor Properties: (see get_editor_property/set_editor_property)

  • axis_style (GizmoElementTranslateAxisStyle): [Read-Write] Shared style for all single-axis translation arrow elements.

  • colors (GizmoPerStateValueLinearColor): [Read-Write]

  • delta_line_dash_gap_spacing (float): [Read-Write] Length of each gap between dashes in the delta line, in world units.

  • delta_line_dash_spacing (float): [Read-Write] Length of each dash segment in the delta line, in world units.

  • delta_line_thickness (Optional[float]): [Read-Write] Optional override for the delta dashed line thickness. Falls back to the axis LineThickness if not set.

  • line_colors (GizmoPerStateValueLinearColor): [Read-Write]

  • minimum_pixel_hit_distance_threshold (float): [Read-Write] Minimum pixel hit distance threshold.

  • origin_line_thickness (float): [Read-Write] Outline thickness of the origin sphere, in world units.

  • origin_radius (float): [Read-Write] Radius of the origin sphere drawn at the drag start point, in world units.

  • pixel_hit_distance_threshold (float): [Read-Write] Pixel hit distance threshold - where the default is generally 7px.

  • planar_style (GizmoElementTranslatePlanarStyle): [Read-Write] Shared style for all two-axis planar translation handles.

  • show_flags (GizmoElementTranslateShowFlags): [Read-Write] Controls which delta visual elements are shown during interaction at the group level.

  • uniform_style (GizmoElementTranslateUniformStyle): [Read-Write] Style for the uniform (screen-space) translation handle.