MCPcopy Create free account
hub / github.com/Illation/ETEngine / OnComponentRemoved

Method OnComponentRemoved

Engine/source/EtFramework/Systems/LightSystem.cpp:48–54  ·  view source on GitHub ↗

------------------------------------- LightSystem::OnComponentRemoved Remove respectively

Source from the content-addressed store, hash-verified

46// Remove respectively
47//
48void LightSystem::OnComponentRemoved(EcsController& controller, LightComponent& component, T_EntityId const entity)
49{
50 UNUSED(controller);
51 UNUSED(entity);
52
53 UnifiedScene::Instance().GetRenderScene().RemoveLight(component.m_LightId);
54}
55
56//--------------------------
57// LightSystem::Process

Callers

nothing calls this directly

Calls 1

RemoveLightMethod · 0.80

Tested by

no test coverage detected