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

Method OnDisable

Source/Engine/Level/Actors/Decal.cpp:140–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140void Decal::OnDisable()
141{
142#if USE_EDITOR
143 GetSceneRendering()->RemoveViewportIcon(this);
144#endif
145 GetSceneRendering()->RemoveActor(this, _sceneRenderingKey);
146
147 // Base
148 Actor::OnDisable();
149}
150
151void Decal::OnTransformChanged()
152{

Callers

nothing calls this directly

Calls 2

OnDisableFunction · 0.50
RemoveActorMethod · 0.45

Tested by

no test coverage detected