You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[page:Camera object]: (required) The camera to be controlled. The camera must not be a child of another object, unless that object is the scene itself.<br><br>
68
70
69
-
[page:HTMLDOMElement domElement]: The HTML element used for event listeners.
71
+
[page:HTMLDOMElement domElement]: The HTML element used for event listeners. (optional)
70
72
</p>
71
73
72
74
<h2>Events</h2>
@@ -88,6 +90,8 @@ <h3>end</h3>
88
90
89
91
<h2>Properties</h2>
90
92
93
+
<p>See the base [page:Controls] class for common properties.</p>
94
+
91
95
<h3>[property:Boolean autoRotate]</h3>
92
96
<p>
93
97
Set to true to automatically rotate around the target.<br> Note that if this is enabled, you must call [page:.update]
@@ -108,17 +112,6 @@ <h3>
108
112
call [page:.update] () in your animation loop.
109
113
</p>
110
114
111
-
<h3>[property:HTMLDOMElement domElement]</h3>
112
-
<p>
113
-
The HTMLDOMElement used to listen for mouse / touch events. This must be passed in the constructor; changing it here will
114
-
not set up new event listeners.
115
-
</p>
116
-
117
-
<h3>[property:Boolean enabled]</h3>
118
-
<p>
119
-
When set to `false`, the controls will not respond to user input. Default is `true`.
120
-
</p>
121
-
122
115
<h3>[property:Boolean enableDamping]</h3>
123
116
<p>
124
117
Set to true to enable damping (inertia), which can be used to give a sense of weight to the controls. Default is false.<br>
0 commit comments