Photo Sphere Viewer
    Preparing search index...

    Interface ViewerState

    Internal properties of the viewer

    interface ViewerState {
        animation: Animation;
        aspect: number;
        continuousUpdateCount: number;
        cursorOverride: string;
        direction: Vector3;
        hFov: number;
        idleTime: number;
        keyboardEnabled: boolean;
        loadingPromise: Promise<any>;
        needsUpdate: boolean;
        objectsObservers: Record<string, Mesh | null>;
        ready: boolean;
        roll: number;
        size: Size;
        textureData: TextureData;
        transitionAnimation: Animation;
        vFov: number;
    }
    Index

    Properties

    animation: Animation = null

    currently running animation

    aspect: number = 1

    renderer aspect ratio

    continuousUpdateCount: number = 0

    number of plugins requesting to continuously render the scene

    cursorOverride: string

    Current override of the global cursor

    direction: Vector3 = ...

    direction of the camera

    hFov: number = 60

    horizontal FOV

    idleTime: number = -1

    time of the last user action

    keyboardEnabled: boolean = false

    if the keyboard events are currently listened to

    loadingPromise: Promise<any> = null

    promise of the last "setPanorama()" call

    needsUpdate: boolean = false

    if the view needs to be renderer

    objectsObservers: Record<string, Mesh | null> = {}

    registered THREE objects observer

    ready: boolean = false

    when all components are loaded

    roll: number = 0

    current camera roll

    size: Size = ...

    size of the container

    textureData: TextureData

    Current panorama texture displayed

    transitionAnimation: Animation = null

    currently running transition

    vFov: number = 60

    vertical FOV