Orrery Terrain · OrreryTerrainEditor module · member function
UOrreryTerrainStampTool::
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 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
| Name | Type | Default | Meaning |
|---|---|---|---|
Props | const UOrrery | — | Radius, height, blend, base and falloff. |
Mask | const UOrrery | — | The brush mask settings: the mask's angle, mirror and footprint. |
MaskId | FOrrery | — | 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. |