Attaches an html element to the hotspot for analytic events, auto positioning, and auto showing.
The html element to attach.
Optional
options: HotspotAttachOptionsOptions for attaching the element.
Optional
elementThe attached element.
The name of the hotspot.
The position of the hotspot in 2D space is specified as an array, where x and y are its coordinates, and z is the distance of the hotspot from the camera.
The position of the hotspot in the 3D world, specified as an array of [x, y, z] coordinates.
Whether the hotspot is currently visible in the scene.
Generated using TypeDoc
Represents a hotspot in a 3D scene. A hotspot is an interactive element that can be clicked or tapped to trigger an action or display additional information.