Photo Sphere Viewer
    Preparing search index...

    Type Alias ClickData

    type ClickData = {
        clientX: number;
        clientY: number;
        marker?: any;
        objects: Object3D[];
        originalEvent?: Event;
        pitch: number;
        rightclick: boolean;
        target?: HTMLElement;
        textureFace?: string;
        textureX?: number;
        textureY?: number;
        viewerX: number;
        viewerY: number;
        yaw: number;
    }
    Index

    Properties

    clientX: number

    position in the browser window

    clientY: number

    position in the browser window

    marker?: any

    clicked Marker

    objects: Object3D[]

    List of THREE scenes objects under the mouse

    originalEvent?: Event

    Original event which triggered the click

    pitch: number

    position in spherical coordinates

    rightclick: boolean

    if it's a right click

    target?: HTMLElement

    Original element which received the click

    textureFace?: string

    position on the texture, if applicable

    textureX?: number

    position on the texture, if applicable

    textureY?: number

    position on the texture, if applicable

    viewerX: number

    position in the viewer

    viewerY: number

    position in the viewer

    yaw: number

    position in spherical coordinates