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

Method OnComponentRemoved

Engine/source/EtFramework/Systems/AtmosphereInit.cpp:38–47  ·  view source on GitHub ↗

------------------------------------- AtmosphereInit::OnComponentRemoved Remove respectively

Source from the content-addressed store, hash-verified

36// Remove respectively
37//
38void AtmosphereInit::OnComponentRemoved(EcsController& controller, AtmosphereComponent& component, T_EntityId const entity)
39{
40 UNUSED(controller);
41 UNUSED(entity);
42
43 if (component.m_RenderId != core::INVALID_SLOT_ID)
44 {
45 UnifiedScene::Instance().GetRenderScene().RemoveAtmosphere(component.m_RenderId);
46 }
47}
48
49
50} // namespace fw

Callers

nothing calls this directly

Calls 1

RemoveAtmosphereMethod · 0.80

Tested by

no test coverage detected