Grid Placement
Development ⚠️ GridPlacement 6.0 (GECS) is in active development. This is the GDScript ECS architecture.

ManipulationComponent

AUTO-GENERATED (GDScript) API entry

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: components/ui/manipulation_component.gd

Version: 6.0

class_name: ManipulationComponent extends: Component

Signals

(none)

Exports

  • mode: ManipulationMode = ManipulationMode.NONE
  • is_active: bool = false
    • Target position for placement/movement
    • Whether entity should be removed
    • Rotation angle for rotation manipulation
    • Flip state for simple manipulation operations
    • Runtime manipulation constraints used by manipulation systems.
    • Priority of this manipulation
    • Return constraints with safe fallback.
  • target_position: Vector2i = Vector2i.ZERO
    • Whether entity should be removed
    • Rotation angle for rotation manipulation
    • Flip state for simple manipulation operations
    • Runtime manipulation constraints used by manipulation systems.
    • Priority of this manipulation
    • Return constraints with safe fallback.
  • should_remove: bool = false
    • Rotation angle for rotation manipulation
    • Flip state for simple manipulation operations
    • Runtime manipulation constraints used by manipulation systems.
    • Priority of this manipulation
    • Return constraints with safe fallback.
  • rotation_angle: float = 0.0
    • Flip state for simple manipulation operations
    • Runtime manipulation constraints used by manipulation systems.
    • Priority of this manipulation
    • Return constraints with safe fallback.
  • flip_h: bool = false
    • Runtime manipulation constraints used by manipulation systems.
    • Priority of this manipulation
    • Return constraints with safe fallback.
  • flip_v: bool = false
    • Runtime manipulation constraints used by manipulation systems.
    • Priority of this manipulation
    • Return constraints with safe fallback.
  • constraints: ManipulationConstraints = ManipulationConstraints.new()
    • Priority of this manipulation
    • Reset manipulation state to defaults
  • priority: int = 0
    • Return constraints with safe fallback.

Methods

  • get_constraints -> ManipulationConstraints
  • set_constraints_from_capability(capability: ManipulationCapability) -> void
  • reset_manipulation -> void