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

Method OnEnable

Source/Engine/Level/Actors/ExponentialHeightFog.cpp:218–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218void ExponentialHeightFog::OnEnable()
219{
220 GetSceneRendering()->AddActor(this, _sceneRenderingKey);
221#if USE_EDITOR
222 GetSceneRendering()->AddViewportIcon(this);
223#endif
224
225 // Base
226 Actor::OnEnable();
227}
228
229void ExponentialHeightFog::OnDisable()
230{

Callers

nothing calls this directly

Calls 2

OnEnableFunction · 0.85
AddActorMethod · 0.45

Tested by

no test coverage detected