Method GetMesh
GetMesh(Vector3Int)
Get direct reference to a chunk's mesh.
public Mesh GetMesh(Vector3Int key)
Parameters
keyVector3IntThe key for mesh query, where XY is the index of that chunk, Z is LOD index.
Returns
- Mesh
The surface mesh.
Get direct reference to a chunk's mesh.
public Mesh GetMesh(Vector3Int key)
key Vector3IntThe key for mesh query, where XY is the index of that chunk, Z is LOD index.
The surface mesh.