Namespace GridForge.Grids
Classes
- GridObstacleManager
Handles the addition, removal, and tracking of obstacles within a grid. Ensures thread safety and proper event notifications when obstacles change.
- GridOccupantManager
Provides utility methods for managing voxel occupants within a grid. Supports adding, removing, and retrieving occupants with thread-safe operations.
- GridScanManager
Provides efficient querying methods for retrieving occupants within a grid. Handles spatial lookups for voxels, filtering by occupant type, and fetching occupants using unique tickets.
- GridScanScratch
Reusable temporary storage for allocation-sensitive grid scan operations.
- GridTraceScratch
Reusable temporary storage for allocation-sensitive grid tracing and coverage operations.
- GridWorld
Owns the mutable runtime state for one GridForge world.
- ScanCell
Represents a spatial partition within a grid, managing occupants at a finer granularity than grid voxels. Handles efficient tracking, retrieval, and removal of occupants within a designated scan cell area.
- Voxel
Represents a voxel within a 3D grid, handling spatial positioning, obstacles, occupants, and neighbor relationships.
- VoxelGrid
Represents a 3D grid structure for spatial organization, managing voxels and scan cells. Handles initialization, neighbor relationships, and occupancy tracking.
Structs
- GridEventInfo
Immutable snapshot describing a grid at the time a world grid notification is raised.
- ObstacleClearEventInfo
Immutable snapshot describing a bulk obstacle clear operation on a voxel.
- ObstacleEventInfo
Immutable snapshot describing a single obstacle mutation on a voxel.
- OccupantEventInfo
Immutable snapshot describing an occupant mutation on a voxel.
Enums
- GridEventKind
Describes the reason a grid event was raised.