SpecialBiomeAttributes
A class in Root.Township, the global namespace.
Global settings asset listing the biome attributes forest generation fills in for each node and path (depth, radius, elevation, slope and so on). Get it with GlobalSettings<SpecialBiomeAttributes>.Instance.
- Listed in Global namespace: S
- Inherits or implements
GlobalSettings<SpecialBiomeAttributes> - Derived types
SpecialBiomeAttributes,SpecialBiomeAttributes.Create - Nested types
Create - Attributes
GlobalSettings
Constructors
| Member | What it is |
|---|---|
SpecialBiomeAttributes() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
9 private and internal fields
| Member | What it is |
|---|---|
private BiomeAttribute depth | Backing field for Depth. |
private BiomeAttribute distanceFromBorder | Backing field for DistanceFromBorder. |
private BiomeAttribute distanceFromPath | Backing field for DistanceFromPath. |
private BiomeAttribute elevation | Backing field for Elevation. |
private BiomeAttribute radius | Backing field for Radius. |
private BiomeAttribute relativeElevationMax | Backing field for RelativeElevationMax. |
private BiomeAttribute relativeElevationMin | Backing field for RelativeElevationMin. |
private BiomeAttribute slope | Backing field for Slope. |
private BiomeAttribute traversalDepth | Backing field for TraversalDepth. |
Properties
| Member | What it is |
|---|---|
BiomeAttribute Depth { get; } | Attribute for cave layer depth. Cave biomes set it to 0. |
BiomeAttribute DistanceFromBorder { get; } | Attribute set to the distance from the forest border. |
BiomeAttribute DistanceFromPath { get; } | Attribute set on spawns to their distance from the path edge. |
BiomeAttribute Elevation { get; } | Attribute set to a node's height or a path's average height. |
BiomeAttribute Radius { get; } | Attribute set to a node's radius. |
BiomeAttribute RelativeElevationMax { get; } | Attribute set to the highest height difference to neighbouring nodes. |
BiomeAttribute RelativeElevationMin { get; } | Attribute set to the lowest height difference to neighbouring nodes. |
BiomeAttribute Slope { get; } | Attribute for slope. Nodes get 0; paths get the height change over their length. |
BiomeAttribute TraversalDepth { get; } | Attribute set to the path distance from the forest's entrance nodes. |
Used in
Members of other types that take, return or hold a SpecialBiomeAttributes: