Orbdale Terrain · OrbdaleTerrainCore module · struct
Native::
FScatterInstance
ExperimentalOne placed instance, relative to the chunk: the shell's component sits at (OriginX, OriginY, OriginZ).
Declaration
struct FScatterInstance- Header
#include "Native/TerrainScatter.h"- Module
PublicDependencyModuleNames.Add("OrbdaleTerrainCore");in your module’s Build.cs.- Stability
- Experimental: supported, may change in a minor version, with a changelog line.
- Thread
- Tier 1: plain C++, no allocation, deterministic in canonical order (ascending candidate index), any thread. (the header’s rule)
Properties
| Name | Type | Default | Meaning |
|---|---|---|---|
X | float | 0.f | cm from the chunk origin. |
Y | float | 0.f | — |
Z | float | 0.f | cm above OriginZ: on the cell's triangles, the rendered and collided surface. |
Yaw | float | 0.f | Radians about the instance's up axis. |
Scale | float | 1.f | — |
Scale | float | 1.f | — |
Scale | float | 1.f | — |
Normal | float | 0.f | Unit up axis: the surface normal with bAlignToSurface, else +Z. |
Normal | float | 0.f | — |
Normal | float | 1.f | — |
Index | uint32_ | 0 | Candidate index in the sub-cell: with the key's other parts, the instance's identity. |