Orrery Terrain · OrreryTerrainEditor module · member function
FOrreryTerrainBrushStroke::
Begin
Editor onlyPress 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
| Name | Type | Default | Meaning |
|---|---|---|---|
World | UWorld& | — | — |
Target | FOrrery | — | — |
Stepping | const FOrrery | — | — |
Cursor_cm | const FVector& | — | — |
Shape | const FShape& | — | — |
Returns
false when the target refused (ground loading, edits refused, off the terrain): nothing is open.