Nebula
|
#include <terraincontext.h>
Public Member Functions | |
BiomeSettingsBuilder & | Parameters (const BiomeParameters &settings) |
Builder for settings. | |
BiomeSettingsBuilder & | FlatMaterial (const BiomeMaterial &material) |
Builder for flat material. | |
BiomeSettingsBuilder & | SlopeMaterial (const BiomeMaterial &material) |
Builder for slope material. | |
BiomeSettingsBuilder & | HeightMaterial (const BiomeMaterial &material) |
Builder for height material. | |
BiomeSettingsBuilder & | HeightSlopeMaterial (const BiomeMaterial &material) |
Builder for height slope material. | |
BiomeSettingsBuilder & | Mask (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 |
|
private |
|
inline |
Finish.
|
inline |
Builder for flat material.
|
inline |
Builder for height material.
|
inline |
Builder for height slope material.
|
inline |
Builder for biome mask.
|
inline |
Builder for settings.
|
inline |
Builder for slope material.
|
private |