IForestGeneration
An interface in Root.Township, Alta.Forests.
One step of forest world generation. Runs once for the whole world, then per location chunk for static (cached) and dynamic content.
- Listed in World generation
- Derived types
ForestBridges,ForestEncounters,ForestFillCore,RiverCollision,RiverEncounters - Documented in Forest
Methods
| Member | What it is |
|---|---|
void ClearDynamic(LocationChunk chunk) | Removes the step's dynamic content from a chunk. |
void ClearStatic(LocationChunk chunk) | Removes the step's static content from a chunk. |
Task GenerateDynamic(ForestGeneration forest, LocationChunk chunk) | Generates dynamic content for a chunk. |
Task GenerateGlobal(ForestGeneration forest) | Generates anything that spans the whole forest. |
Task GenerateStatic(ForestGeneration forest, LocationChunk chunk, InstructionSet instructions) | Generates static content for a chunk into an instruction set that can be cached. |
void Initialize() | Prepares the step before generating. |
Used in
Members of other types that take, return or hold a IForestGeneration: