---------------------------------------------------- SceneSelection::OnSceneEvent pass the event through to any listeners
| 166 | // pass the event through to any listeners |
| 167 | // |
| 168 | void 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 |
nothing calls this directly
no test coverage detected