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

Method OnComponentRemoved

Engine/source/EtFramework/Systems/TransformSystem.cpp:36–42  ·  view source on GitHub ↗

------------------------------------- TransformSystem::OnComponentRemoved Remove respectively

Source from the content-addressed store, hash-verified

34// Remove respectively
35//
36void TransformSystem::OnComponentRemoved(EcsController& controller, TransformComponent& component, T_EntityId const entity)
37{
38 UNUSED(controller);
39 UNUSED(entity);
40
41 UnifiedScene::Instance().GetRenderScene().RemoveNode(component.GetNodeId());
42}
43
44//---------------------------------
45// TransformSystem::Compute::c-tor

Callers

nothing calls this directly

Calls 2

RemoveNodeMethod · 0.80
GetNodeIdMethod · 0.45

Tested by

no test coverage detected