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

Method OnDisable

Source/Engine/Level/Actors/Light.cpp:36–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void Light::OnDisable()
37{
38#if USE_EDITOR
39 GetSceneRendering()->RemoveViewportIcon(this);
40 GetSceneRendering()->RemoveLightsDebug<Light, &Light::DrawLightsDebug>(this);
41#endif
42 GetSceneRendering()->RemoveActor(this, _sceneRenderingKey);
43
44 // Base
45 Actor::OnDisable();
46}
47
48#if USE_EDITOR
49void Light::DrawLightsDebug(RenderView& view)

Callers

nothing calls this directly

Calls 2

OnDisableFunction · 0.50
RemoveActorMethod · 0.45

Tested by

no test coverage detected