ICursorService
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
Provides access to the current cursor position in grid coordinates.
Metadata
Namespace: GridPlacement.Core.Services.Targeting
Source File: cs/Core/Services/Targeting/ICursorService.cs
Assembly: GridPlacement.Core
Type: interface
Properties
Revision
Gets a monotonically increasing revision number that changes whenever the cursor state changes.
CurrentGridPosition
Gets the current grid position of the cursor.
Methods
TrySetGridPosition
Attempts to set the current grid position.
Parameters
| Name | Description |
|---|---|
newPosition | The new grid position. |
Returns
true if the position changed; otherwise false.
Events
GridPositionChanged
Raised when the grid position changes.