HeightField3DShape constructor

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

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

Implementation

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