Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · struct

Native::

FGroundSampleRequest

What to sample: positions in, in metres, and which ground at what accuracy.

Declaration

struct FGroundSampleRequest
Header
#include "Native/GroundSampling.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainCore"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
The batch ground sampler: height, face and smoothed normals, slope, paint weights, ground class and the answer's precision for many positions in one call, on any thread, with no allocation once its scratch is warm. (the header’s rule)

Properties

NameTypeDefaultMeaning
XYconst double*nullptr

2·Count doubles, x0 y0 x1 y1 …, world metres.

Countint32_t0—
SurfaceESurfaceESurface::Modified

Top reads as Modified until an extension registers cover.

AccuracyEGroundAccuracyEGroundAccuracy::Best—