Nebula
Loading...
Searching...
No Matches
Terrain::BiomeSettingsBuilder Struct Reference

#include <terraincontext.h>

Public Member Functions

BiomeSettingsBuilderParameters (const BiomeParameters &settings)
 Builder for settings.
 
BiomeSettingsBuilderFlatMaterial (const BiomeMaterial &material)
 Builder for flat material.
 
BiomeSettingsBuilderSlopeMaterial (const BiomeMaterial &material)
 Builder for slope material.
 
BiomeSettingsBuilderHeightMaterial (const BiomeMaterial &material)
 Builder for height material.
 
BiomeSettingsBuilderHeightSlopeMaterial (const BiomeMaterial &material)
 Builder for height slope material.
 
BiomeSettingsBuilderMask (const Resources::ResourceName &mask)
 Builder for biome mask.
 
BiomeSettings Finish ()
 Finish.
 

Private Types

enum  BuilderBits : uint8 {
  NoBits = 0x0 , SettingsBit = 0x1 , FlatMaterialBit = 0x2 , SlopeMaterialBit = 0x4 ,
  HeightMaterialBit = 0x8 , HeightSlopeMaterialBit = 0x10 , BiomeMask = 0x20 , AllBits = (BiomeMask << 1) - 1
}
 

Private Attributes

uint8 bits = NoBits
 
BiomeSettings settings
 

Member Enumeration Documentation

◆ BuilderBits

Enumerator
NoBits 
SettingsBit 
FlatMaterialBit 
SlopeMaterialBit 
HeightMaterialBit 
HeightSlopeMaterialBit 
BiomeMask 
AllBits 

Member Function Documentation

◆ Finish()

BiomeSettings Terrain::BiomeSettingsBuilder::Finish ( )
inline

Finish.

◆ FlatMaterial()

BiomeSettingsBuilder & Terrain::BiomeSettingsBuilder::FlatMaterial ( const BiomeMaterial & material)
inline

Builder for flat material.

◆ HeightMaterial()

BiomeSettingsBuilder & Terrain::BiomeSettingsBuilder::HeightMaterial ( const BiomeMaterial & material)
inline

Builder for height material.

◆ HeightSlopeMaterial()

BiomeSettingsBuilder & Terrain::BiomeSettingsBuilder::HeightSlopeMaterial ( const BiomeMaterial & material)
inline

Builder for height slope material.

◆ Mask()

BiomeSettingsBuilder & Terrain::BiomeSettingsBuilder::Mask ( const Resources::ResourceName & mask)
inline

Builder for biome mask.

◆ Parameters()

BiomeSettingsBuilder & Terrain::BiomeSettingsBuilder::Parameters ( const BiomeParameters & settings)
inline

Builder for settings.

◆ SlopeMaterial()

BiomeSettingsBuilder & Terrain::BiomeSettingsBuilder::SlopeMaterial ( const BiomeMaterial & material)
inline

Builder for slope material.

Member Data Documentation

◆ bits

uint8 Terrain::BiomeSettingsBuilder::bits = NoBits
private

◆ settings

BiomeSettings Terrain::BiomeSettingsBuilder::settings
private

The documentation for this struct was generated from the following file: