Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainCore module · struct

Native::

FScatterInstance

Experimental

One 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

NameTypeDefaultMeaning
Xfloat0.f

cm from the chunk origin.

Yfloat0.f—
Zfloat0.f

cm above OriginZ: on the cell's triangles, the rendered and collided surface.

Yawfloat0.f

Radians about the instance's up axis.

ScaleXfloat1.f—
ScaleYfloat1.f—
ScaleZfloat1.f—
NormalXfloat0.f

Unit up axis: the surface normal with bAlignToSurface, else +Z.

NormalYfloat0.f—
NormalZfloat1.f—
Indexuint32_t0

Candidate index in the sub-cell: with the key's other parts, the instance's identity.