BasemapDistanceSet
A class in Root.Township, the global namespace.
Sets the Terrain on the same object to a given basemap distance (where it switches to the low detail basemap). Turns itself off on a headless server.
- Listed in Global namespace: A to B
- Inherits or implements
MonoBehaviour - Attributes
ExecuteInEditMode
Constructors
| Member | What it is |
|---|---|
BasemapDistanceSet() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Properties
| Member | What it is |
|---|---|
float Distance { get; set; } | Basemap distance to apply. Setting it doesn't reapply until the next enable. |