MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / EditorScene

Method EditorScene

Source/Editor/Utilities/EditorScene.cpp:5–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include "EditorScene.h"
4
5EditorScene::EditorScene(const SpawnParams& params)
6 : Scene(params)
7{
8 // Mock editor preview scene to be in gameplay
9 InitializeHierarchy();
10 SceneBeginData beginData;
11 EditorScene::BeginPlay(&beginData);
12 beginData.OnDone();
13
14 // Mark as internal to prevent collection in ManagedEditor::WipeOutLeftoverSceneObjects
15 Tags.Add(Tags::Get(TEXT("__EditorInternal")));
16}
17
18void EditorScene::Update()
19{

Callers

nothing calls this directly

Calls 3

OnDoneMethod · 0.80
GetFunction · 0.50
AddMethod · 0.45

Tested by

no test coverage detected