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;
}

Type declaration

  • clientX: number

    position in the browser window

  • clientY: number

    position in the browser window

  • Optionalmarker?: any

    clicked Marker

  • objects: Object3D[]

    List of THREE scenes objects under the mouse

  • OptionaloriginalEvent?: Event

    Original event which triggered the click

  • pitch: number

    position in spherical coordinates

  • rightclick: boolean

    if it's a right click

  • Optionaltarget?: HTMLElement

    Original element which received the click

  • OptionaltextureFace?: string

    position on the texture, if applicable

  • OptionaltextureX?: number

    position on the texture, if applicable

  • OptionaltextureY?: 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