Orrery Terrain · OrreryTerrainCore module · enum
Native::
ESurface
Which ground a query reads.
Declaration
enum class ESurface : uint8_t- Header
#include "Native/TerrainTypes.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrainCore");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
Values
| Value | Meaning |
|---|---|
Modified = 0 | Current ground: natural ⊕ sculpt ⊕ features. The default for every query. |
Natural | Ground before construction: pristine ⊕ sculpt layer. Volumes and tunnel depth read this. |
Pristine | The cooked source ground. Never edited at runtime. |
Water | Water surface from channel features; NoData where dry. |
Top | The highest of the ground and whatever an extension lays over it (cover) or the water: what a vehicle or a character stands on. Answers exactly Modified until an extension registers a cover layer, so code written against it keeps its meaning later. Every query canonicalises it with |