Struct ChunkSet
Represents a collection or set of chunks that are marked as dirty. Marking chunks dirty means that their mesh representation will be updated at the end of this frame.
Namespace: TycoonTerrain.Core
Assembly: TycoonTerrainAssembly.dll
Syntax
public struct ChunkSet
Methods
GetDirtyChunkPositions()
Gets the chunk positions of all dirty chunks.
Declaration
public IEnumerable<int2> GetDirtyChunkPositions()
Returns
Type | Description |
---|---|
IEnumerable<Unity.Mathematics.int2> | The chunk positions of dirty chunks. |