NodeMapModifier
An abstract class in Root.Township, Alta.Forests.
Base for a component that changes the forest generator's node map before it is used.
- Listed in World generation
- Inherits or implements
MonoBehaviour - Derived types
CutoutPathModifier,ForestAttributeEvaluator,ForestCliffEvaluator,ForestConnectivityIncreaser,ForestPathAttributeLerper,ForestSpaceEvaluator,LandBridgeModifier,BiomeSphereGenerator
Constructors
| Member | What it is |
|---|---|
protected NodeMapModifier() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Properties
| Member | What it is |
|---|---|
bool IsActiveCache { get; set; } | Whether the component was active and enabled when the generator collected modifiers; inactive ones are skipped. |
Methods
| Member | What it is |
|---|---|
virtual Task FinishInitialize() | Async setup hook run before modifying. Finishes at once by default. |
abstract void Modify(ForestGeneration forest) | Changes the forest's node map. Implement in subclasses. |
Used in
Members of other types that take, return or hold a NodeMapModifier: