Struct · Ara
TerrainChunk
Collision for one terrain tile (grid coordinates of the level's Terrain). Author these in world cells to stream collision with the cells.
public struct TerrainChunk : IComponent<TerrainChunk>Properties
TypeIndex
public static uint TypeIndex { get; }Stable engine component index.
Fields
X
public int X;Tile index along world X.
Default: 0.
Z
public int Z;Tile index along world Z.
Default: 0.
Methods
Access
public static ref TerrainChunk Access(Entity entity, bool write);No description yet.
Insert
public static void Insert(in Commands commands, Entity entity, in TerrainChunk value);No description yet.
Contains
public static bool Contains(Entity entity);No description yet.