Photo Sphere Viewer
    Preparing search index...

    Class ViewerState

    Internal properties of the viewer

    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<
            BufferGeometry<NormalBufferAttributes>,
            Material | Material[],
            Object3DEventMap,
        >,
    > = {}

    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