Interface: ClickHotspotEventPayload
Payload for the mimeeq-click-hotspot event.
Dispatched when a user clicks on a hotspot in the 3D scene. Hotspots are interactive points placed on the 3D model that can display information or trigger actions.
Properties
dimensions
dimensions:
object
Screen-space coordinates of the click position.
x
x:
number
Horizontal position in pixels.
y
y:
number
Vertical position in pixels.
instanceId
instanceId:
string
Runtime instance identifier of the 3D model containing the hotspot.
meshId
meshId:
string
Identifier of the mesh the hotspot is attached to.