IFClite TypeScript API
    Preparing search index...

    Interface CameraState

    interface CameraState {
        fov: number;
        position: Vec3;
        target: Vec3;
        up?: Vec3;
    }
    Index
    fov: number
    position: Vec3
    target: Vec3
    up?: Vec3

    The camera's up vector. Optional: older peers omit it, and world Y is the fallback. A plan view looking straight down carries its screen orientation in a horizontal up alone, so without it a "jump to peer" cannot reproduce the plan's rotation.