MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / OnUpdate

Method OnUpdate

SDK/src/NDK/Systems/ParticleSystem.cpp:33–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 */
32
33 void ParticleSystem::OnUpdate(float elapsedTime)
34 {
35 for (const Ndk::EntityHandle& entity : GetEntities())
36 {
37 ParticleGroupComponent& group = entity->GetComponent<ParticleGroupComponent>();
38
39 group.Update(elapsedTime);
40 }
41 }
42
43 SystemIndex ParticleSystem::systemIndex;
44}

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.45

Tested by

no test coverage detected