Orrery Terrain · OrreryTerrainEditor module · class
UOrreryTerrainCorridorToolProperties
Editor onlyThe Corridor tool's settings, kept per user.
Declaration
UCLASS(config = EditorPerProjectUserSettings)
class UOrreryTerrainCorridorToolProperties : public UInteractiveToolPropertySet- Header
#include "Tools/OrreryTerrainFeatureTools.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor");in an editor module’s Build.cs: an editor module, not in packaged games.- Stability
- Stable: changes within a major version only add.
- Derives from
UInteractiveToolPropertySet
Description
Lengths are metres; crossfall percent; batters horizontal per vertical.
Functions
- UseSelectedSpline
Take the centreline from the first spline of the selected actor.
- Commit
Place the corridor (Enter).
- Cancel
Drop the centreline (Esc).
Properties
| Name | Type | Default | Meaning |
|---|---|---|---|
Path | EOrrery | EOrrery | Where the centreline comes from. |
Formation | EOrrery | EOrrery | Where the formation height comes from: the centreline's Z (the clicked ground or the spline), or the ground plus Formation Offset. |
Formation | double | 0.0 | Ground Plus Offset: the formation above the natural ground. |
Half | double | 3.0 | Formation band left of the direction of travel. |
Half | double | 3.0 | Formation band right of it. |
Crossfall | double | 0.0 | Cross slope of the formation, percent; positive raises the left edge. |
Station | double | 1.0 | Distance between stations along the centreline (the terrain takes at most 2 m). |
Fill | double | 1.5 | Embankment slope, horizontal per vertical. |
Cut | double | 1.5 | Cutting slope, horizontal per vertical. |
Keep | TArray< | — | Runs left untouched (a bridge, a tunnel bore), as distances along the centreline in cm; an end may get a tunnel opening. |
Tool | TWeak | — | — |