unreal.GizmoElementScaleAxisStyle¶
- class unreal.GizmoElementScaleAxisStyle¶
Bases:
GizmoStyleBaseVisual style parameters for a single scale axis element (cylinder body + arrow head handle + delta visuals).
C++ Source:
Module: EditorInteractiveToolsFramework
File: GizmoElementScale.h
Editor Properties: (see get_editor_property/set_editor_property)
axis_length(float): [Read-Write] Length of the axis body in world units (before multiplier).axis_offset_from_center(float): [Read-Write] Gap between the gizmo origin and the start of the axis body, in world units.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 line thickness. Falls back to LineThickness if not set.delta_offset_text_prefix(Optional[Text]): [Read-Write] Overrides the default prefix text for offset-based scale labels, if set.delta_offset_text_suffix(Optional[Text]): [Read-Write] Overrides the default suffix text for offset-based scale labels, if set.delta_percentage_text_prefix(Optional[Text]): [Read-Write] Overrides the default prefix text for percentage-based scale labels, if set.delta_percentage_text_suffix(Optional[Text]): [Read-Write] Overrides the default suffix text for percentage-based scale labels, if set.delta_text_background_color(LinearColor): [Read-Write] Background color/alpha of the text box.head_size(float): [Read-Write] Size of the cube arrow head at the end of the axis, in world units.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(GizmoElementScaleShowFlags): [Read-Write] Controls which delta visual elements are shown during interaction.uniform_colors(GizmoPerStateValueLinearColor): [Read-Write] Per-state colors for the uniform (center) scale handle.uniform_size(float): [Read-Write] Size of the uniform (center) scale handle, in world units.