viewer3d.select
Invoked when the user changes the set of selected objects in the scene.
Example
Usage
const onSelect = function (event, objectIds) {
console.log("viewer.select", "objectIds: ", objectIds);
};
$("#viewer-3d").on("viewer.select", onSelect);Parameters
onSelect
Function called when the user changes the set of selected objects in the viewer.
Type |
|---|
(event: Object, objectIds: Array[String]) => Void |
event
objectIds
List of selected object ids.