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

Method OnEnable

Source/Engine/Level/Actors/EnvironmentProbe.cpp:320–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320void EnvironmentProbe::OnEnable()
321{
322 GetSceneRendering()->AddActor(this, _sceneRenderingKey);
323#if USE_EDITOR
324 GetSceneRendering()->AddViewportIcon(this);
325#endif
326
327 // Base
328 Actor::OnEnable();
329}
330
331void EnvironmentProbe::OnDisable()
332{

Callers

nothing calls this directly

Calls 2

OnEnableFunction · 0.85
AddActorMethod · 0.45

Tested by

no test coverage detected