unreal.GizmoElementTranslateAxisStyle

class unreal.GizmoElementTranslateAxisStyle

Bases: GizmoStyleBase

Visual style parameters for a single translation axis element (arrow handle + delta visuals).

C++ Source:

  • Module: EditorInteractiveToolsFramework

  • File: GizmoElementTranslate.h

Editor Properties: (see get_editor_property/set_editor_property)

  • arrow_height (float): [Read-Write] Height of the arrow head cone in world units.

  • arrow_radius (float): [Read-Write] Base radius of the arrow head cone in world units.

  • arrow_size_multiplier (float): [Read-Write] Overall scale multiplier for the arrow head geometry.

  • axis_length (float): [Read-Write] Length of the axis arrow body in world units (before multiplier).

  • axis_offset_from_center (float): [Read-Write] Gap between the gizmo origin and the start of the axis arrow, in world units.

  • colors (GizmoPerStateValueLinearColor): [Read-Write]

  • delta_text_background_color (LinearColor): [Read-Write] Background color/alpha of the text box.

  • line_colors (GizmoPerStateValueLinearColor): [Read-Write]

  • line_thickness (float): [Read-Write] Thickness of the axis line in world units.

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

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

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