figureone
    Preparing search index...

    Scene.

    scene definition options

    callback if scene is updated

    Index

    Methods

    • Set the pan and zoom of the scene.

      Pan is applied to camera.position and camera.lookAt, while zoom is applied to camera.left/camera.bottom/camera.right/camera.top (for 2D and orthographic) or camera.fov (for perspective)

      The camera and projection variables are not changed by pan and zoom, but the the view and projection matrices are.

      A pan in the positive direction will move the scene left and down.

      A zoom greater than 1 will reduce the left/right/bottom/top or fov effectively magnifying the scene.

      Parameters

      Returns void

    • Set the pan of the scene.

      Pan is applied to camera.position and camera.lookAt.

      The camera is changed by pan and zoom, but the resulting view matrix is.

      A pan in the positive direction will move the scene left and down.

      Parameters

      Returns void