IFClite TypeScript API
    Preparing search index...

    Interface HostViewCamera

    interface HostViewCamera {
        direction: HostViewVec3;
        fieldOfView?: number;
        position: HostViewVec3;
        projection: "perspective" | "orthographic";
        up: HostViewVec3;
        viewToWorldScale?: number;
    }
    Index
    direction: HostViewVec3

    Viewing direction; need not be unit length.

    fieldOfView?: number

    Perspective only: the vertical field of view in degrees.

    position: HostViewVec3
    projection: "perspective" | "orthographic"
    viewToWorldScale?: number

    Orthographic: required, the height of the view in metres (BCF ViewToWorldScale).