ICursorTargetQueryPolicy2D
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
Defines policy rules for accepting a world-query targeting result as the next cursor grid position.
Metadata
Namespace: GridPlacement.Core.Services.Targeting
Source File: cs/Core/Services/Targeting/ICursorTargetQueryPolicy2D.cs
Assembly: GridPlacement.Core
Type: interface
Methods
TrySelectGridPosition
Attempts to select the next grid position from a query result.
Parameters
| Name | Description |
|---|---|
currentGridPosition | Current cursor position. |
querySucceeded | Whether the world query produced a target. |
resolvedGridPosition | Resolved grid coordinate from the query when successful. |
selectedGridPosition | Chosen next position when accepted. |
Returns
true when a new position should be applied; otherwise false.