unreal.GizmoElementScalePlanarStyle

class unreal.GizmoElementScalePlanarStyle

Bases: GizmoStyleBase

Visual style parameters for a planar scale handle (two-axis rectangle).

C++ Source:

  • Module: EditorInteractiveToolsFramework

  • File: GizmoElementScale.h

Editor Properties: (see get_editor_property/set_editor_property)

  • colors (GizmoPerStateValueLinearColor): [Read-Write]

  • line_colors (GizmoPerStateValueLinearColor): [Read-Write]

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

  • offset_from_origin (float): [Read-Write] Distance from the gizmo origin to the center of the planar handle, in world units.

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

  • size (float): [Read-Write] Width and height of the planar handle square, in world units.

  • thickness (float): [Read-Write] Thickness (depth) of the planar handle geometry, in world units.