Axiom.Core.SceneManager.RemoveAllCameras C# (CSharp) Method

RemoveAllCameras() public method

Removes all cameras from the scene.
public RemoveAllCameras ( ) : void
return void
		public virtual void RemoveAllCameras()
		{
			if ( this.cameraList != null )
			{
				// notify the render system of each camera being removed
				foreach ( Camera cam in this.cameraList.Values )
				{
					this.targetRenderSystem.NotifyCameraRemoved( cam );

					if ( !cam.IsDisposed )
						cam.Dispose();
				}

				// clear the list
				this.cameraList.Clear();
			}
		}
SceneManager