Struct GridCellAddress
- Namespace
- Shard.Gameplay.World
- Assembly
- Shard.Gameplay.World.dll
Identifies one possible cell at a grid level, whether or not it is loaded.
public readonly record struct GridCellAddress : IEquatable<GridCellAddress>
- Implements
- Inherited Members
Remarks
The grid level defines its size; a cell is not necessarily a 32x32x32 terrain section.
Constructors
GridCellAddress(StableEntityId, int, Vector3i)
Identifies one possible cell at a grid level, whether or not it is loaded.
public GridCellAddress(StableEntityId GridId, int Level, Vector3i Coordinates)
Parameters
GridIdStableEntityIdLevelintCoordinatesVector3i
Remarks
The grid level defines its size; a cell is not necessarily a 32x32x32 terrain section.
Properties
Coordinates
public Vector3i Coordinates { get; init; }
Property Value
GridId
public StableEntityId GridId { get; init; }
Property Value
Level
public int Level { get; init; }