Cosmos Journeyer API Documentation - v1.10.1
    Preparing search index...

    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.

    Hierarchy

    • Scene
      • UberScene
    Index

    Constructors

    Methods

    • Sets the active camera for the scene and the depth renderer. If the depth renderer does not exist, it is created.

      Parameters

      • camera: Camera

        The new active camera.

      Returns void

    • Sets the active controls for the scene. This also sets the active camera of the scene using the active camera of the controls.

      Parameters

      Returns Promise<void>