Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · struct

FOrreryTerrainCorridorBP

A linear earthwork (road, rail, canal bank) as Blueprint states it, in cm.

Declaration

USTRUCT(BlueprintType)
struct FOrreryTerrainCorridorBP
Blueprint Make and Break Orrery Terrain Corridor BP
The graph as text
  1. Make Orrery Terrain Corridor BP (structure)
    • In Points (array of Vector): not connected
    • In Station Spacing (Double): 100.0
    • In Formation Source (EOrreryTerrainFormationSource): FromPoints
    • In Formation Offset (Double): 0.0
    • In Half Width Left (Double): 300.0
    • In Half Width Right (Double): 300.0
    • In Crossfall Percent (Double): 0.0
    • In Fill HV (Double): 1.5
    • In Cut HV (Double): 1.5
    • In Keep Out (array of OrreryTerrainKeepOutBP): not connected
    • In Portal Head Width (Double): 1200.0
    • In Portal Fold (Double): 3000.0
    • In Portal Depth (Double): 2000.0
    • In Portal Facade Offset (Double): 0.0
    • In Portal Opening Width (Double): 800.0
    • In Portal Opening Height (Double): 650.0
    • In Owner Domain (Integer64): 0
    • In Owner Id (Integer64): 0
    • Out Orrery Terrain Corridor BP (OrreryTerrainCorridorBP): not connected
  2. Break Orrery Terrain Corridor BP (structure)
    • In Orrery Terrain Corridor BP (OrreryTerrainCorridorBP): not connected
    • Out Points (array of Vector): not connected
    • Out Station Spacing (Double): not connected
    • Out Formation Source (EOrreryTerrainFormationSource): not connected
    • Out Formation Offset (Double): not connected
    • Out Half Width Left (Double): not connected
    • Out Half Width Right (Double): not connected
    • Out Crossfall Percent (Double): not connected
    • Out Fill HV (Double): not connected
    • Out Cut HV (Double): not connected
    • Out Keep Out (array of OrreryTerrainKeepOutBP): not connected
    • Out Portal Head Width (Double): not connected
    • Out Portal Fold (Double): not connected
    • Out Portal Depth (Double): not connected
    • Out Portal Facade Offset (Double): not connected
    • Out Portal Opening Width (Double): not connected
    • Out Portal Opening Height (Double): not connected
    • Out Owner Domain (Integer64): not connected
    • Out Owner Id (Integer64): not connected
Header
#include "OrreryTerrainLibraryTypes.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrain"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Blueprint
“Orrery Terrain Corridor BP”, a Blueprint type

Description

Converted to a OrreryTerrain::Native::FCorridorFeature: the centreline is resampled every StationSpacing along its plan length. CommitCorridorFromSpline ignores Points and samples the spline instead.

Properties

NameTypeDefaultMeaning
PointsBlueprintReadWriteTArray<FVector>—

The centreline, world cm, at least two points.

Z is the formation when FormationSource is FromPoints.

StationSpacingBlueprintReadWritedouble100.0

Distance between stations along the centreline, cm.

Clamped to 10 to 199: the terrain needs stations at most 2 m apart.

FormationSourceBlueprintReadWriteEOrreryTerrainFormationSourceEOrreryTerrainFormationSource::FromPoints—
FormationOffsetBlueprintReadWritedouble0.0

Added to the natural ground under each station when FormationSource is GroundPlusOffset, cm.

HalfWidthLeftBlueprintReadWritedouble300.0

Formation band left of the direction of travel, from the centreline, cm.

HalfWidthRightBlueprintReadWritedouble300.0

Formation band right of the direction of travel, cm.

CrossfallPercentBlueprintReadWritedouble0.0

Formation cross-slope in percent; positive raises the left edge.

FillHVBlueprintReadWritedouble1.5

Embankment batter, horizontal per vertical (1.5 = 1.5:1).

CutHVBlueprintReadWritedouble1.5

Cutting batter, horizontal per vertical.

KeepOutBlueprintReadWriteTArray<FOrreryTerrainKeepOutBP>—

Runs where the ground is left alone: bridges, viaducts, tunnel bores.

PortalHeadWidthBlueprintReadWritedouble1200.0

The headwall's outer width of a tunnel opening, centred on the centreline, cm.

PortalFoldBlueprintReadWritedouble3000.0

The length over which the cutting folds to the portal, cm.

PortalDepthBlueprintReadWritedouble2000.0

How far into the hill the opening's hole reaches, cm.

PortalFacadeOffsetBlueprintReadWritedouble0.0

Where the facade stands from the keep-out run's end, outward into the cutting, cm.

PortalOpeningWidthBlueprintReadWritedouble800.0

The opening's clear width, cm (a rectangular outline).

PortalOpeningHeightBlueprintReadWritedouble650.0

The opening's clear height above the formation, cm.

OwnerDomainBlueprintReadWriteint640

Owner domain: opaque to the terrain; a FourCC by convention.

0 = no owner.

OwnerIdBlueprintReadWriteint640

Owner id within the domain.

Blueprint