IGridTargetResolver2D
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.
Declaration
Summary
Core-friendly abstraction for resolving a grid coordinate from a world-space position. Implementations may be engine-backed (e.g. Godot sensors) or pure math fallbacks.
Metadata
Namespace: GridPlacement.Core.Services.Targeting
Source File: cs/Core/Services/Targeting/IGridTargetResolver2D.cs
Assembly: GridPlacement.Core
Type: interface
Methods
TryGetTarget
Attempts to resolve a target grid coordinate for the provided world-space position.
Parameters
| Name | Description |
|---|---|
worldPosition | World-space position in Core coordinates. |
gridPosition | Resolved grid coordinate when successful. |
Returns
True if the target is valid and resolved; otherwise false.