Orrery Terrain · OrreryTerrainEditor module · class
UOrreryTerrainCorridorTool
Editor onlyCorridor: two clicks give a straight centreline (the third click starts again), or Use Selected Spline samples the selected actor's spline.
Declaration
UCLASS()
class UOrreryTerrainCorridorTool : public UOrreryTerrainFeatureToolBase- 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
UOrreryTerrainFeatureToolBase
Description
Widths, crossfall, slopes and keep-out runs come from the settings; the cut and fill are previewed live. Enter commits, Esc cancels.
Types
- EAction enum
Action ids of the hotkeys.
CommitAction, CancelAction
Functions
- Setup
- Shutdown
- Render
- RegisterActions
- OnPropertyModified
- GetHudLines
The HUD's lines as drawn this frame.
- CommitCorridor
Place the corridor.
- CancelCorridor
- UseSpline
Take the centreline from Spline (the selected actor's first spline when null).
- MakeCorridor
The corridor the centreline and settings describe now, in Blueprint units.
- GetPoints
- GetPreview
- GetProperties
- OnGroundClickedprotected
A click on the ground at Hit (world cm).
- OnFeatureCommittedprotected
A commit of this tool landed as feature Id: at once, or from the tick after its ground loaded.