TileMapLayerPlacementOccupancySource
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
Reads occupancy directly from a Godot TileMapLayer.
Metadata
Namespace: GridPlacement.Godot.Addons.GridPlacement.Services.Placement
Source File: cs/Godot/addons/GridPlacement/Services/Placement/TileMapLayerPlacementOccupancySource.cs
Assembly: GridPlacement.Godot
Type: class
Implements
IPlacementOccupancySource
Constructors
TileMapLayerPlacementOccupancySource
Initializes a new instance of the TileMapLayerPlacementOccupancySource class.
Parameters
| Name | Description |
|---|---|
tileMapLayer | The TileMapLayer to inspect. |
gridSize | Optional fixed grid size used for bounds checks. |
Properties
SourceName
Methods
IsOccupied
IsInBounds
GetOccupiedPositions
Returns occupied positions currently present in the TileMapLayer.
Returns
A read-only snapshot of occupied positions.