Request

Response

    Type Definitions
    Version 8 preview
    This page documents a preview of the Viewer SDK v8. APIs and content can still change before the final release.

    ViewParams

    Describes a camera view. An Camera can be used as ViewParams.

    Properties

    positionCamera position.
    targetPoint the camera is looking at.
    upUp vector of the camera.
    fov
    number
    Vertical field of view in degrees. Only used for perspective projection.
    isPerspective
    boolean
    True for perspective projection, false for orthographic projection. For orthographic projection, the height of the visible area equals the distance between position and target.
    orthoScale
    number
    Height of the visible area for orthographic projection. If specified, the distance between position and target is adjusted to match. Only used for orthographic projection.