Orrery Terrain · OrreryTerrain · namespace
OrreryTerrain::
Units
Declared in OrreryTerrain. Its members are listed below, by kind.
Functions
- CmToMetres
Centimetres to metres.
- MetresToCm
Metres to centimetres.
- CmToMm
Centimetres to whole millimetres, rounded half away from zero (as Native::MetresToMm rounds metres).
- MmToCm
Whole millimetres to centimetres.
- ToTerrain
A world position, cm, as Tier-1 world metres.
- ToUnreal
A Tier-1 world position, metres, as an Unreal world position, cm.
- SplatSteps
The Paint steps of one splat dab: Dab with its Kind set to Paint, and each used channel's layer and mask, in channel order (red, green, blue, alpha).
- ToBrush
A Blueprint brush as Tier 1 states it: fixed point, millimetres relative to the terrain origin.
- ToSculptLimits
The sculpt limits, cm, as the authority's millimetre rules.
- FromSculptLimits
The authority's millimetre rules in cm: the inverse of ToSculptLimits, exact for whole millimetres.
Constants
| Name | Type | Default | Meaning |
|---|---|---|---|
k | double | 100.0 | The one conversion between Unreal units and the terrain's (the Tier 3 boundary). Unreal speaks centimetres and world FVector. Tier 1 speaks world metres for positions and query heights, and whole millimetres for feature vertices, formation heights and brushes. Every Blueprint call of |