Orrery Terrain · OrreryTerrainEditor module · member function
FOrreryTerrainStampGhost::
Build
Editor onlyEvaluate 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
| Name | Type | Default | Meaning |
|---|---|---|---|
Terrain | const UOrrery | — | The terrain; it must have a terrain world. |
Stamp | const FOrrery | — | A Stamp brush naming Mask's id, world cm and degrees. |
Mask | const Orrery | — | 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).