heightfield
heightfield(
options):HeightfieldShape
A grid of heights in metres, rows samples along z by columns
along x, listed row by row, over size, its width along x and depth
along z, centred on the entity: a game’s own terrain, as the core
builds a map’s. A fixed body takes it, which the body’s type holds.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
{ columns: number; heights: readonly number[]; rows: number; size: readonly [number, number]; } |
options.columns |
number |
options.heights |
readonly number[] |
options.rows |
number |
options.size |
readonly [number, number] |