unreal.GizmoElementRotateInteraction¶
- class unreal.GizmoElementRotateInteraction¶
Bases:
StructBaseInteraction options for rotation gizmo elements, controlling how user input maps to rotation deltas.
C++ Source:
Module: EditorInteractiveToolsFramework
File: GizmoElementRotate.h
Editor Properties: (see get_editor_property/set_editor_property)
arc_multiplier(float): [Read-Write] Sensitivity multiplier for Arc rotation mode.arcball_rotation_precision_boost(float): [Read-Write] Arc rotation boost factor (precision mode)arcball_rotation_precision_damping(float): [Read-Write] Arc rotation damping factor (precision mode)axis_rotation_precision_boost(float): [Read-Write] Axis rotation boost factor (precision mode)axis_rotation_precision_damping(float): [Read-Write] Axis rotation damping factor (precision mode)direction(Optional[Vector2D]): [Read-Write] The explicit drag direction corresponding with view-relative rotation. (1.0, 0.0) means left-to-right movement rotates clockwise, right-to-left moves counter-clockwise. Vertical movement wouldn’t do anything. Only applicable to Pull rotation. If not set, uses a “pull-string” approach where the direction is determined by the cursor position relative to the origin.pull_multiplier(float): [Read-Write] Sensitivity multiplier for Pull rotation mode.rotate_mode(Optional[AxisRotateMode]): [Read-Write] Optionally override the project-level default rotation mode (Arc or Pull).screen_space_rotation_precision_boost(float): [Read-Write] Screen Space rotation boost factor (precision mode)screen_space_rotation_precision_damping(float): [Read-Write] Screen Space rotation damping factor (precision mode)