Atlas Engine
API Referenceaurora

PlainGenerator

Procedural plain height generator configured by scale and amplitude.

Module: aurora

Procedural plain height generator configured by scale and amplitude.

Declaration

export class PlainGenerator 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;

On this page