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

Method OnSceneEvent

Engine/source/EtEditor/SceneEditor/SceneSelection.cpp:168–180  ·  view source on GitHub ↗

---------------------------------------------------- SceneSelection::OnSceneEvent pass the event through to any listeners

Source from the content-addressed store, hash-verified

166// pass the event through to any listeners
167//
168void SceneSelection::OnSceneEvent(fw::T_SceneEventFlags const flags, fw::SceneEventData const* const eventData)
169{
170 for (I_SceneSelectionListener* const listener : m_Listeners)
171 {
172 listener->OnSceneEvent(static_cast<fw::E_SceneEvent>(flags), eventData);
173 }
174
175 if ((flags == fw::E_SceneEvent::Activated) && !m_IsIdRendererInitialized)
176 {
177 m_IdRenderer.Initialize();
178 m_IsIdRendererInitialized = true;
179 }
180}
181
182//----------------------------------------------------
183// SceneSelection::OnSceneEvent

Callers

nothing calls this directly

Calls 1

InitializeMethod · 0.45

Tested by

no test coverage detected