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

Method OnComponentRemoved

Engine/source/EtFramework/Systems/ModelInit.cpp:38–44  ·  view source on GitHub ↗

------------------------------------- ModelInit::OnComponentRemoved Remove respectively

Source from the content-addressed store, hash-verified

36// Remove respectively
37//
38void ModelInit::OnComponentRemoved(EcsController& controller, ModelComponent& component, T_EntityId const entity)
39{
40 UNUSED(controller);
41 UNUSED(entity);
42
43 UnifiedScene::Instance().GetRenderScene().RemoveInstance(component.m_InstanceId);
44}
45
46
47} // namespace fw

Callers

nothing calls this directly

Calls 1

RemoveInstanceMethod · 0.80

Tested by

no test coverage detected