HeightFieldShape3D constructor

const HeightFieldShape3D(
  1. Float32List heights,
  2. int sampleCount,
  3. double cellSize
)

A terrain of sampleCount × sampleCount heights, cellSize metres apart.

Implementation

const HeightFieldShape3D(this.heights, this.sampleCount, this.cellSize);