API Referenceaurora
HillGenerator
Procedural hill height generator configured by scale and amplitude.
Module: aurora
Procedural hill height generator configured by scale and amplitude.
Declaration
export class HillGenerator extends TerrainGenerator { ... }Extends: TerrainGenerator
Constructors
constructor(scale: number, amplitude: number);Methods
generateHeight
Samples the procedural terrain height at the supplied coordinates.
override generateHeight(x: number, y: number): number;