Orbdale Terrain · OrbdaleTerrainEditor module · member function
UOrbdaleTerrainStampTool::
MakeStampBrush
Editor onlyThe 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
| Name | Type | Default | Meaning |
|---|---|---|---|
Props | const UOrbdale | — | Radius, height, blend, base and falloff. |
Mask | const UOrbdale | — | The brush mask settings: the mask's angle, mirror and footprint. |
MaskId | FOrbdale | — | The mask's id (the brush asset's GetMaskId). |
MaskAspect | double | — | The mask's width over its height (the asset's DefaultAspect). |
Centre_cm | const FVector& | — | The stamp's centre, world cm (Z ignored). |
Ground_cm | double | — | The ground's height at the centre, world cm: the base of a GroundAtCentre stamp. |