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

Method InitInternal

Engine/source/EtEditor/SceneEditor/SceneEditor.cpp:91–109  ·  view source on GitHub ↗

--------------------------- SceneEditor::InitInternal create the tools and attach them to the parent frame

Source from the content-addressed store, hash-verified

89// create the tools and attach them to the parent frame
90//
91void SceneEditor::InitInternal()
92{
93 m_IsShown = true;
94 for (I_SceneEditorListener* const listener : m_Listeners)
95 {
96 listener->OnShown();
97 }
98
99 fw::AudioManager::GetInstance()->Initialize();
100 fw::PhysicsManager::GetInstance()->Initialize();
101
102 m_SceneSelection.SetScene();
103 for (I_SceneEditorListener* const listener : m_Listeners)
104 {
105 listener->OnSceneSet();
106 }
107
108 fw::UnifiedScene::Instance().LoadScene(EditorConfig::GetInstance()->GetStartScene());
109}
110
111//----------------------------------------------------
112// SceneEditor::OnKeyEvent

Callers

nothing calls this directly

Calls 6

OnShownMethod · 0.80
SetSceneMethod · 0.80
OnSceneSetMethod · 0.80
LoadSceneMethod · 0.80
GetStartSceneMethod · 0.80
InitializeMethod · 0.45

Tested by

no test coverage detected