API Referenceaurora
Biome
Terrain appearance and height, moisture, and temperature selection settings.
Module: aurora
Terrain appearance and height, moisture, and temperature selection settings.
Declaration
export class Biome { ... }Constructors
constructor(
name: string,
texture: Texture,
color: Color,
useTexture: boolean,
);Properties
name
name: string;texture
texture: Texture;color
color: Color;useTexture
useTexture: boolean;minHeight
minHeight: number;maxHeight
maxHeight: number;minMoisture
minMoisture: number;maxMoisture
maxMoisture: number;minTemperature
minTemperature: number;maxTemperature
maxTemperature: number;condition
condition: BiomeFunction;Methods
attachTexture
Attaches a texture to this object.
attachTexture(texture: Texture): void;