TargetingController2D
TargetingController2D
Godot-side cursor controller that translates engine input into Core cursor updates.
Project: GridPlacement v6.0
Layer: Godot
Source: Godot/Targeting/TargetingController2D.cs
Namespace: GridBuilding.Godot.Targeting
Kind: class
Parsing Method: AST-based (Roslyn) - NOT regex
⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.
Properties
GridPosition
Current grid position as reported by the Core cursor service.
IsActive
Enables or disables processing and visibility for the controller.
MouseEnabled
If true, updates the cursor from the current mouse position.
KeyboardEnabled
If true, updates the cursor from keyboard directional input.
Methods
_Ready
Godot lifecycle hook for dependency acquisition and initial activation.
Returns: void
_ExitTree
Godot lifecycle hook for detaching event handlers.
Returns: void
_Process
Godot process tick. Updates cursor position while active.
Returns: void
Parameters:
double delta