TerrainSplatPart
A class in Root.Township, the global namespace.
Generation part that paints a terrain texture in a circle around it, fading by distance. Skipped on headless servers.
- Listed in Global namespace: T to X
- Inherits or implements
GeneratablePart - Attributes
AddComponentMenu
Constructors
| Member | What it is |
|---|---|
TerrainSplatPart() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
5 private and internal fields
Methods
| Member | What it is |
|---|---|
override void GenerateStatic(GenerationCore core, bool isModifyingTerrain) | When allowed to modify terrain (and not headless), sets the texture on the chosen splat layers where it's stronger than what's there. |