Returns the active camera for the scene. If it does not exist, it throws an error.
The active camera.
Returns the active controls for the scene. If they do not exist, it throws an error.
The active controls.
Sets the active camera for the scene and the depth renderer. If the depth renderer does not exist, it is created.
The new active camera.
Sets the active controls for the scene. This also sets the active camera of the scene using the active camera of the controls.
The active controls.
A very thin wrapper around Babylon's Scene class to add some convenience methods. The functionality added is support for the general purpose controls and the use of a depth renderer by default.