InsetModifier
A class in Root.Township, the global namespace.
Forest spawn modifier that sinks each spawn point into the ground by a random depth taken from a curve.
- Listed in Global namespace: I to L
- Inherits or implements
SpawnModifierPointNormal - Derived types
InsetModifier.Create - Nested types
Create
Constructors
| Member | What it is |
|---|---|
InsetModifier() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
1 private and internal field
Methods
| Member | What it is |
|---|---|
override void Filter(ForestFillCore.Setup setup, ref PointNormal pointNormal, ref float weight) | Lowers the point by the inset curve evaluated at a random value from the setup's random source. |