Skip to content
Brass Orrery

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

NameTypeDefaultMeaning
OutNanosecondsint64_t*—

kTerrainCostCount values, by ETerrainCost.

Note.

Any thread. Time added during the call lands in this read or the next, never lost.