skia
    Preparing search index...

    Interface Camera

    interface Camera {
        angle: number;
        coa: Vector3;
        eye: Vector3;
        far: number;
        near: number;
        up: Vector3;
    }
    Index

    Properties

    Properties

    angle: number

    field of view in radians

    coa: Vector3

    center of attention - the 3d point the camera is looking at.

    eye: Vector3

    a 3d point locating the camera.

    far: number

    far clipping plane distance

    near: number

    near clipping plane distance

    A unit vector pointing the cameras up direction. Note that using only eye and coa would leave the roll of the camera unspecified.