Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

FOrreryTerrainStampGhost::

Build

Editor only

Evaluate the ghost of Stamp over Terrain.

Declaration

bool Build(const UOrreryTerrainSubsystem& Terrain, const FOrreryTerrainBrushBP& Stamp, const OrreryTerrain::Native::FBrushMask& Mask, int32 InSide = 65);
Header
#include "Tools/OrreryTerrainMaskPreview.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 FOrreryTerrainStampGhost)

Parameters

NameTypeDefaultMeaning
Terrainconst UOrreryTerrainSubsystem&—

The terrain; it must have a terrain world.

Stampconst FOrreryTerrainBrushBP&—

A Stamp brush naming Mask's id, world cm and degrees.

Maskconst OrreryTerrain::Native::FBrushMask&—

The mask Stamp names (the brush asset's, registered or not).

InSideint3265

Points per side, 2 to kStampPreviewMaxSide; kStampPreviewSide by default.

Returns

false, with Side 0, when there is no terrain or the stamp cannot be previewed (not a Stamp, another mask).