Grid Placement

manipulation_transform_handler

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: systems/manipulation/handlers/manipulation_transform_handler.gd

Version: 5.1

class_name: (none) extends: RefCounted

Signals

(none)

Exports

(none)

Methods

  • apply_rotation()
    • Applies rotation to target node

[param p_target] Node to rotate [param p_degrees] Rotation amount in degrees (0-360)

  • apply_flip_horizontal()
    • Applies horizontal flip (mirror across Y axis)

[param p_target] Node to flip

  • apply_flip_vertical()
    • Applies vertical flip (mirror across X axis)

[param p_target] Node to flip

  • capture_transform()
    • Captures current transform state for later restoration

[param p_target] Node to capture transform from [return] Dictionary with position, rotation, scale

  • restore_transform()
    • Restores transform from captured state

[param p_target] Node to restore transform to [param p_captured] Dictionary from capture_transform()

  • normalize_rotation()
    • Normalizes rotation to 0-360 range

[param p_degrees] Rotation in degrees (any value) [return] Normalized rotation (0-360)

  • snap_to_90_degrees()
    • Calculates closest 90-degree multiple for grid-aligned rotation

[param p_degrees] Rotation in degrees [return] Nearest 90-degree multiple (0, 90, 180, 270)