Type alias ClickData

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

Type declaration

  • clientX: number

    position in the browser window

  • clientY: number

    position in the browser window

  • Optional marker?: any

    clicked Marker

  • objects: Object3D[]

    List of THREE scenes objects under the mouse

  • pitch: number

    position in spherical coordinates

  • rightclick: boolean

    if it's a right click

  • target: HTMLElement

    Original element which received the click

  • Optional textureFace?: string

    position on the texture, if applicable

  • Optional textureX?: number

    position on the texture, if applicable

  • Optional 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

Generated using TypeDoc