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
| Name | Type | Default | Meaning |
|---|---|---|---|
Query | const FGround | — | The snapshot to read; answers ExactOnly, so a tile that is not resident gives Pending. |
Rules | const FFollow | — | The follow rules. |
XY | const double* | — | 2*Count doubles, world metres. |
Delta_m | const float* | — | Count reference offsets. |
Exempt | const uint8_ | — | Count bytes, nonzero = |
Count | int32_ | — | Number of instances. |
Scratch | FFollow | — | Reusable buffers; keep one per thread. |
Out | FFollow | — | Count results; Pending leaves the instance as it is. |
Baseline | const FFollow | 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.