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

Method OnDisable

Source/Engine/Level/Actors/Camera.cpp:492–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490}
491
492void Camera::OnDisable()
493{
494#if USE_EDITOR
495 GetSceneRendering()->RemoveActor(this, _sceneRenderingKey);
496#endif
497 Cameras.Remove(this);
498 if (CutSceneCamera == this)
499 CutSceneCamera = nullptr;
500
501 // Base
502 Actor::OnDisable();
503}
504
505void Camera::OnTransformChanged()
506{

Callers

nothing calls this directly

Calls 3

OnDisableFunction · 0.50
RemoveActorMethod · 0.45
RemoveMethod · 0.45

Tested by

no test coverage detected