HeightFieldShape3D constructor
const
HeightFieldShape3D(
- Float32List heights,
- int sampleCount,
- double cellSize
A terrain of sampleCount × sampleCount heights, cellSize
metres apart.
Implementation
const HeightFieldShape3D(this.heights, this.sampleCount, this.cellSize);