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

Method OnDeleteObject

Source/Engine/Level/Scene/Scene.cpp:352–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352void Scene::OnDeleteObject()
353{
354 // Cleanup
355 LightmapsData.UnloadLightmaps();
356 CSGData.Model = nullptr;
357 CSGData.CollisionData = nullptr;
358
359 // Base
360 Actor::OnDeleteObject();
361}
362
363void Scene::Initialize()
364{

Callers

nothing calls this directly

Calls 2

OnDeleteObjectFunction · 0.85
UnloadLightmapsMethod · 0.80

Tested by

no test coverage detected