buildOceanMesh
此内容尚不支持你的语言。
buildOceanMesh(
cells,rings,cellSize):MeshData
Defined in: sdk/src/water/waterMesh.ts:29
An ocean of rings rings of cells cells a side (a multiple of four), the innermost with cellSize cells. It reaches
cells * cellSize * 2^(rings - 1) / 2 out from its centre.
Parameters
Section titled “Parameters”number
number
cellSize
Section titled “cellSize”number