Orbdale Terrain · OrbdaleTerrainEditor module · member function
FOrbdaleTerrainStampGhost::
Build
Editor onlyEvaluate 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
| Name | Type | Default | Meaning |
|---|---|---|---|
Terrain | const UOrbdale | — | The terrain; it must have a terrain world. |
Stamp | const FOrbdale | — | A Stamp brush naming Mask's id, world cm and degrees. |
Mask | const Orbdale | — | The mask Stamp names (the brush asset's, registered or not). |
InSide | int32 | 65 | 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).