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

Method Build

Source/Engine/CSG/CSGBuilder.cpp:100–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void Builder::Build(Scene* scene, float timeoutMs)
101{
102 if (scene == nullptr)
103 return;
104
105#if USE_EDITOR
106 // Disable building during play mode
107 if (Editor::IsPlayMode)
108 return;
109#endif
110
111 // Register building
112 if (!ScenesToRebuild.Contains(scene))
113 {
114 ScenesToRebuild.Add(scene);
115 }
116 scene->CSGData.BuildTime = DateTime::NowUTC() + TimeSpan::FromMilliseconds(timeoutMs);
117}
118
119namespace CSG
120{

Callers 5

SetDriverVersionMethod · 0.45
GetHashFunction · 0.45
walkTreeFunction · 0.45
ProcessGroupMaterialMethod · 0.45
ProcessGroupTexturesMethod · 0.45

Calls 2

ContainsMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected