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

Method LateUpdate

Source/Engine/Core/ObjectsRemovalService.cpp:123–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123void ObjectsRemoval::LateUpdate()
124{
125 PROFILE_CPU();
126
127 // Delete all objects
128 const double now = Platform::GetTimeSeconds();
129 const float dt = (float)(now - LastUpdate);
130 float gameDelta = Time::Update.DeltaTime.GetTotalSeconds();
131 if (Time::GetGamePaused())
132 gameDelta = 0;
133 ObjectsRemovalService::Flush(dt, gameDelta);
134 LastUpdate = now;
135}
136
137void ObjectsRemoval::Dispose()
138{

Callers

nothing calls this directly

Calls 2

GetGamePausedFunction · 0.85
FlushFunction · 0.70

Tested by

no test coverage detected