Events
viewer3d.doubleclick
invoked when the user double clicks inside the viewer example usage const ondoubleclick = function (event) { const { intersects } = event; console log("viewer3d dblclick", "intersects ", intersects); }; viewer3d addeventlistener("viewer3d dblclick", ondoubleclick); jquery const ondoubleclick = function (event, objectid, intersects) { console log("viewer doubleclick", "objectid ", objectid, "intersects ", intersects); }; $("#viewer 3d") on("viewer doubleclick", ondoubleclick); parameters ondoubleclick function called when the user double clicks inside the viewer true left unhandled content type left unhandled content type event true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type intersects true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type function called when the user double clicks inside the viewer returning false from the ondoubleclick function will disable look at object for double click event true left unhandled content type left unhandled content type event https //api jquery com/category/events/event object/ objectid id of the object clicked, undefined if no object under cursor intersects intersection point of the object below the cursor, undefined if no object under cursor true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type