Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainEditor module · member function

FOrbdaleTerrainStampGhost::

Build

Editor only

Evaluate the ghost of Stamp over Terrain.

Declaration

bool Build(const UOrbdaleTerrainSubsystem& Terrain, const FOrbdaleTerrainBrushBP& Stamp, const OrbdaleTerrain::Native::FBrushMask& Mask, int32 InSide = 65);
Header
#include "Tools/OrbdaleTerrainMaskPreview.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 FOrbdaleTerrainStampGhost)

Parameters

NameTypeDefaultMeaning
Terrainconst UOrbdaleTerrainSubsystem&—

The terrain; it must have a terrain world.

Stampconst FOrbdaleTerrainBrushBP&—

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

Maskconst OrbdaleTerrain::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).