SgtLandscapePrefabSpawner
This component can be added alongside a terrain to procedurally spawn prefabs on its surface.
MaskTex
This allows you to define the spawn area.
InvertMask
Invert the mask, so 0 values become 255 values, and 255 values become 0 values
TriangleSize
Prefabs will spawn at the LOD level where triangles are approximately this size.
Count
The amount of prefabs that will be spawned per LOD chunk.
Seed
The random seed when procedurally spawning the prefabs.
ScaleMin
The spawned prefabs will have their localScale multiplied by at least this number.
ScaleMax
The spawned prefabs will have their localScale multiplied by at most this number.
Rotate
How should the spawned prefabs be rotated?
Offset
The spawned prefabs will have their position offset by this local space distance.
Last updated