RandomScaleModifier
A class in Root.Township, the global namespace.
Forest fill modifier asset that gives each spawn a random uniform scale from a curve.
- Listed in Global namespace: Q to R
- Inherits or implements
SpawnModifierSpawnParameters - Derived types
RandomScaleModifier.Create - Nested types
Create
Constructors
| Member | What it is |
|---|---|
RandomScaleModifier() | 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 SpawnParameters point, ref float weight) | Sets the spawn's scale to the curve value at a random 0 to 1 input. Replaces any earlier scale. |