ForestFill
A class in Root.Township, Alta.Forests.
Forest fill step that scatters objects on a grid across the forest, outside path nodes (or in open spaces).
- Listed in World generation
- Inherits or implements
ForestFillCore - Documented in Forest
Constructors
| Member | What it is |
|---|---|
ForestFill() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|---|
protected override async Task GenerateInternal(LocationChunk chunk, InstructionSet instructions) | Tests grid points in the chunk row by row on worker threads, raycasts the ground on the main thread and adds spawn instructions for points that pass. |