Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

UOrreryTerrainStampTool::

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 FOrreryTerrainBrushBP MakeStampBrush(const UOrreryTerrainStampToolProperties& Props, const UOrreryTerrainBrushMaskProperties& Mask,
	FOrreryTerrainBrushMaskId MaskId, double MaskAspect, const FVector& Centre_cm, double Ground_cm);
Header
#include "Tools/OrreryTerrainStampTool.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 UOrreryTerrainStampTool)

Parameters

NameTypeDefaultMeaning
Propsconst UOrreryTerrainStampToolProperties&—

Radius, height, blend, base and falloff.

Maskconst UOrreryTerrainBrushMaskProperties&—

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

MaskIdFOrreryTerrainBrushMaskId—

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.