unreal.TransformGizmoStyle

class unreal.TransformGizmoStyle

Bases: StructBase

Contains all styling properties for TransformGizmo.

C++ Source:

  • Module: EditorInteractiveToolsFramework

  • File: TransformGizmo.h

Editor Properties: (see get_editor_property/set_editor_property)

  • axis_size_multiplier (float): [Read-Write] Applies to axis lengths and radii. Use the GetModifiedAxisSizeMultiplier to account for various other project/editor settings.

  • current_color (LinearColor): [Read-Write] deprecated: Use HoverColor instead.

  • cursor_size (float): [Read-Write] Defines the size of the custom cursor.

  • delta_text_background_color (LinearColor): [Read-Write] Represents the background color for text labels.

  • grey_color (LinearColor): [Read-Write]

  • handle_size_multiplier (float): [Read-Write] Applies to arrow heads, planar and uniform handles.

  • hover_color (LinearColor): [Read-Write] The color to use on hover.

  • hover_line_thickness_multiplier (float): [Read-Write]

  • interact_color (LinearColor): [Read-Write] The color to use on interact.

  • line_thickness_multiplier (float): [Read-Write]

  • min_line_thickness (float): [Read-Write] Used to prevent sub-pixel line sizes.

  • 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.

  • planar_axis_offset_from_origin (float): [Read-Write] Applies to both translate and scale planar handles.

  • rotate_style (GizmoElementRotateStyle): [Read-Write]

  • scale_style (GizmoElementScaleStyle): [Read-Write]

  • select_color (LinearColor): [Read-Write] The color to use on select.

  • shading_ambient (float): [Read-Write]

  • shading_specular_glossiness (float): [Read-Write]

  • show_flags (uint32): [Read-Write] Sets the fixed visibility of various elements.

  • subdue_color (LinearColor): [Read-Write] The color to use on subdue. Depending on the effect, we may only use the alpha value.

  • translate_style (GizmoElementTranslateStyle): [Read-Write]

  • use_platform_cursor_size (bool): [Read-Write] Synchronizes the cursor size to that specified for the platform/OS. If false, CursorSize is used.

  • use_shading (bool): [Read-Write] Whether to show shading on the gizmo, or unlit (if false).

  • white_color (LinearColor): [Read-Write]

property current_color: LinearColor

[Read-Write] deprecated: Use HoverColor instead.

Type:

(LinearColor)