Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

FOrreryTerrainBrushStroke::

Begin

Editor only

Press at Cursor_cm (world cm, on the ground): the target opens a stroke and takes the first dab.

Declaration

bool Begin(UWorld& World, FOrreryTerrainSculptHeightTarget& Target, const FOrreryTerrainStepperSettings& Stepping, const FVector& Cursor_cm, const FShape& Shape);
Header
#include "Tools/OrreryTerrainBrushStroke.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.
Thread
Game thread, editor only. (the rule of FOrreryTerrainBrushStroke)

Parameters

NameTypeDefaultMeaning
WorldUWorld&——
TargetFOrreryTerrainSculptHeightTarget&——
Steppingconst FOrreryTerrainStepperSettings&——
Cursor_cmconst FVector&——
Shapeconst FShape&——

Returns

false when the target refused (ground loading, edits refused, off the terrain): nothing is open.