Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · function

Native::

EvaluateFollow

Evaluate Count tracked instances against a snapshot.

Declaration

void EvaluateFollow(const FGroundQuery& Query, const FFollowRules& Rules, const double* XY, const float* Delta_m,
                                            const uint8_t* Exempt, int32_t Count, FFollowScratch& Scratch, FFollowEvaluation* Out,
                                            const FFollowBaseline* Baseline = nullptr);
Header
#include "Native/GroundFollow.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainCore"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
Any thread, no allocation once the scratch is warm.

Parameters

NameTypeDefaultMeaning
Queryconst FGroundQuery&—

The snapshot to read; answers ExactOnly, so a tile that is not resident gives Pending.

Rulesconst FFollowRules&—

The follow rules.

XYconst double*—

2*Count doubles, world metres.

Delta_mconst float*—

Count reference offsets.

Exemptconst uint8_t*—

Count bytes, nonzero = FFollowItem::kSlopeExempt; may be null (none exempt).

Countint32_t—

Number of instances.

ScratchFFollowScratch&—

Reusable buffers; keep one per thread.

OutFFollowEvaluation*—

Count results; Pending leaves the instance as it is.

Baselineconst FFollowBaseline*nullptr

Read in place of Pristine for the alignment turn when set; null reads Pristine.

Note.

Any thread, no allocation once the scratch is warm. Deterministic.