BiomeType Enum
Type-safe biome identifiers.Usage
getTreeConfigForBiome
Gets the tree configuration for a specific biome.biomeId- Biome identifier (BiomeType enum value or string)
BiomeTreeConfig for the biome, or forest config as fallback
Example:
BiomeTreeConfig
Configuration for tree distribution and placement in a biome.Fields
Example
TreeSpawnConfig
Configuration for a specific tree type within a biome.Fields
Examples
Mountain Tree:TreeId Enum
Type-safe tree identifiers.Usage
Migration from Strings
buildBiomeConstantsJS
Generates JavaScript code for injecting biome constants into web workers.Biome Configs
Forest Biome
Canyon Biome
Tundra Biome
Related APIs
Terrain LOD API
TerrainQuadTree and TerrainQuadNode API
Tree Instancing API
GLBTreeBatchedInstancer API reference
Resource System
Resource spawning and gathering
World API
World class and system management