Orrery Terrain · OrreryTerrain module · struct
FOrreryTerrainFeatures
Turns Blueprint-unit descriptions into Tier 1 features through the terrain's contract frame.
Declaration
struct FOrreryTerrainFeatures- Header
#include "OrreryTerrainFeatures.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Thread
- Any thread; the inputs are values.
Description
Pure shell code, no terrain needed beyond its frame and (for ground-relative formations) one snapshot.
Any thread; the inputs are values.
Functions
- MakePlatestatic
A plate feature from a Blueprint plate.
- MakeCorridorstatic
A corridor feature from Blueprint corridor parameters.
- SamplePointsFromSplinestatic
The spline's centreline as corridor Points: samples at equal distances, spacing at most StationSpacing, world cm.
- SamplePolygonFromSplinestatic
A closed spline's outline as plate Polygon vertices: samples at equal distances along the loop, Spacing_cm apart at most, the spacing widened so the outline keeps to the terrain's 2048 plate vertices.
- ToEarthworksstatic
The earthworks a native result states, in Unreal units.
Properties
| Name | Type | Default | Meaning |
|---|---|---|---|
k | double | 199.0 | The most plan distance between two stations the terrain accepts, cm (it states 2 m; one centimetre less keeps rounding clear). |
k | double | 10.0 | The least station spacing MakeCorridor takes, cm. |