Orrery Terrain · OrreryTerrainCore module · struct
Native::
FCorridorStation
One sampled station of a corridor centreline.
Declaration
struct FCorridorStation- Header
#include "Native/TerrainFeature.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrainCore");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
Description
The owner samples its own geometry (rail samples at 1 m) and hands over these numbers, never a curve. The terrain therefore needs no rail maths, and evaluation is a pure function of integers.
Properties
| Name | Type | Default | Meaning |
|---|---|---|---|
X_ | int64_ | 0 | Relative to the terrain origin. |
Y_ | int64_ | 0 | — |
Formation | FHeight | 0 | Design formation height: track top minus the structure's depth. |
Half | int32_ | 0 | Formation band left of the direction of travel. |
Half | int32_ | 0 | Formation band right of it. |
Crossfall_ | int16_ | 0 | Formation cross-slope; positive raises the left edge. |