We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a9725f commit f12e6f6Copy full SHA for f12e6f6
utils/ObjectSelection.js
@@ -1,4 +1,15 @@
1
+/**
2
+ @author David Piegza
3
4
+ Implements a selection for objects in a scene.
5
+
6
+ It invokes a callback function when the mouse enters and when it leaves the object.
7
+ Based on a Three.js selection example.
8
9
+ Parameters:
10
+ domElement: HTMLDomElement
11
+ selected: callback function, passes the current selected object
12
+ */
13
14
THREE.ObjectSelection = function(parameters) {
15
var parameters = parameters || {};
0 commit comments