Skip to main contentModule grid
Source - Chunk
- A terrain chunk that contains a list of terrain tiles.
- Grid
- The main terrain grid resource that holds all the terrain chunks and their respective tiles.
- GridEntityEvent
- CHUNK_GRID_SUBDIVISIONS
- The number of subdivisions per chunk in the grid system (number of grid cells per chunk).
- TILE_SIZE
- The size of a single tile in the grid system.
- GridChunkPos
- The position of a chunk in the grid, represented as (x, z) coordinates.
- GridLocalPos
- The local position of a tile within a chunk, represented as (x, z) coordinates.
- GridTilePos
- The full position in the grid