Orrery Terrain · OrreryTerrainCore module · function
Native::
SetTerrainCostCollecting
Start or stop collecting.
Declaration
void SetTerrainCostCollecting(bool bCollect);- 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.
Description
Starting clears the counters.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
bCollect | bool | — | — |
Note.
Any thread. A scope open across the change adds its time, or not, by the state when it opened.