Orrery Terrain · OrreryTerrainEditor module · struct
FOrreryTerrainStampGhost
Editor onlyThe ghost of a height stamp before it is placed: EvaluateStampPreview's Side × Side grid of the stamp's result over the ground sampled at StampPreviewPoint, in world cm.
Declaration
struct FOrreryTerrainStampGhost- 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.
Description
Build samples the ground (GetGroundHeight, the edited surface) at every grid point, runs the Tier 1 preview, which is the kernel's per-post Stamp code, and keeps the result: a point on an edit post previews that post exactly.
Game thread, editor only. Tier 3.
Functions
- Build
Evaluate the ghost of Stamp over Terrain.
- IsInside
Whether point (I, J) is inside.
- CountInside
Points inside: the stamp's footprint on the grid.
Properties
| Name | Type | Default | Meaning |
|---|---|---|---|
Side | int32 | 0 | Points per side; 0 before a Build succeeded. |
Points_ | TArray< | — | Side × Side world points, row-major (J the row), Z the stamp's result. |
Inside | TArray< | — | 1 where the stamp writes and the terrain has ground, else 0. |
b | bool | false | Every sample on the terrain answered Exact. |
Build | double | 0.0 | Wall time of the last Build: sampling and evaluation. |