Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainEditor module · member function

UOrbdaleTerrainStampTool::

MakeStampBrush

Editor only

The Stamp brush the settings make at Centre_cm: the one conversion the tool, the editor library and the tests share.

Declaration

static FOrbdaleTerrainBrushBP MakeStampBrush(const UOrbdaleTerrainStampToolProperties& Props, const UOrbdaleTerrainBrushMaskProperties& Mask,
	FOrbdaleTerrainBrushMaskId MaskId, double MaskAspect, const FVector& Centre_cm, double Ground_cm);
Header
#include "Tools/OrbdaleTerrainStampTool.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrainEditor"); 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 UOrbdaleTerrainStampTool)

Parameters

NameTypeDefaultMeaning
Propsconst UOrbdaleTerrainStampToolProperties&—

Radius, height, blend, base and falloff.

Maskconst UOrbdaleTerrainBrushMaskProperties&—

The brush mask settings: the mask's angle, mirror and footprint.

MaskIdFOrbdaleTerrainBrushMaskId—

The mask's id (the brush asset's GetMaskId).

MaskAspectdouble—

The mask's width over its height (the asset's DefaultAspect).

Centre_cmconst FVector&—

The stamp's centre, world cm (Z ignored).

Ground_cmdouble—

The ground's height at the centre, world cm: the base of a GroundAtCentre stamp.