MCPcopy Create free account
hub / github.com/defold/defold / SetEngineThrottle

Function SetEngineThrottle

engine/engine/src/engine.cpp:1728–1736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1726 }
1727
1728 void SetEngineThrottle(HEngine engine, bool enable, float cooldown)
1729 {
1730 engine->m_ThrottleEnabled = enable;
1731 if (enable)
1732 {
1733 engine->m_ThrottleCooldownMax = cooldown;
1734 engine->m_ThrottleCooldown = 0;
1735 }
1736 }
1737
1738 void SetUpdateEnabled(bool enabled)
1739 {

Callers 2

TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68