Function RecastMeshGatherer.GenerateHeightmapChunk
GenerateHeightmapChunk
(refUnsafeSpan<float> heights, refUnsafeSpan<bool> holes, int heightmapWidth, int heightmapDepth, int x0, int z0, int width, int depth, int stride, outUnsafeSpan<Vector3> verts, outUnsafeSpan<int> tris)
Generates a terrain chunk mesh.
Public
Static
void GenerateHeightmapChunk (
refUnsafeSpan<float> | heights | |
refUnsafeSpan<bool> | holes | |
int | heightmapWidth | |
int | heightmapDepth | |
int | x0 | |
int | z0 | |
int | width | |
int | depth | |
int | stride | |
outUnsafeSpan<Vector3> | verts | |
outUnsafeSpan<int> | tris |
Generates a terrain chunk mesh.