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

Method OnBrushModified

Source/Engine/Level/Scene/SceneCSGData.cpp:16–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14using namespace CSG;
15
16void Brush::OnBrushModified()
17{
18#if COMPILE_WITH_CSG_BUILDER
19 const auto scene = GetBrushScene();
20 if (scene && scene->IsDuringPlay())
21 {
22 Builder::OnBrushModified(this);
23 }
24#endif
25}
26
27SceneCSGData::SceneCSGData(Scene* scene)
28 : _scene(scene)

Callers

nothing calls this directly

Calls 1

OnBrushModifiedFunction · 0.85

Tested by

no test coverage detected