MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnBeginPhysics

Method OnBeginPhysics

Source/Engine/Engine/Time.cpp:298–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298bool Time::OnBeginPhysics(double time)
299{
300 if (Physics.OnTickBegin(time, GetFps(PhysicsFPS), _physicsMaxDeltaTime))
301 {
302 Current = &Physics;
303 return true;
304 }
305 return false;
306}
307
308bool Time::OnBeginDraw(double time)
309{

Callers

nothing calls this directly

Calls 2

GetFpsFunction · 0.85
OnTickBeginMethod · 0.80

Tested by

no test coverage detected