TerrainOffsetPart
A class in Root.Township, the global namespace.
Generation part that raises or lowers the terrain height in a circle around it, using curves for offset and blend by distance.
- Listed in Global namespace: T to X
- Inherits or implements
GeneratablePart - Attributes
AddComponentMenu
Constructors
| Member | What it is |
|---|---|
TerrainOffsetPart() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
3 private and internal fields
Methods
| Member | What it is |
|---|---|
override void GenerateStatic(GenerationCore core, bool isModifyingTerrain) | When allowed to modify terrain, blends heights in the radius towards this position's height plus offset. |