Orbdale Terrain · OrbdaleTerrainCore module · function
Native::
ScatterThinnedCount
ExperimentalThe candidates density scaling leaves to be evaluated: ceil(Candidates × ThinScale) for Halton (a prefix, clamped to [0, Candidates]); every candidate for the grid, which thins per candidate instead (FScatterSettings::ThinScale).
Declaration
uint32_t ScatterThinnedCount(uint32_t Candidates, float ThinScale, bool bUseGrid);- 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)
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Candidates | uint32_ | — | — |
ThinScale | float | — | — |
bUseGrid | bool | — | — |