Orrery Terrain · OrreryTerrainCore module · function
Native::
DrainTerrainCosts
Read every counter and reset it to zero.
Declaration
void DrainTerrainCosts(int64_t* OutNanoseconds);- Header
#include "Native/TerrainCost.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrainCore");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Thread
- Any thread.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
OutNanoseconds | int64_ | — | kTerrainCostCount values, by |
Note.
Any thread. Time added during the call lands in this read or the next, never lost.