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 camera]: (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>
80
80
81
-
[page:HTMLDOMElement domElement]: The HTML element used for event listeners.<br><br>
81
+
[page:HTMLDOMElement domElement]: The HTML element used for event listeners. (optional)<br><br>
82
82
83
-
[page:Scene scene]: The scene rendered by the camera. If not given, gizmos cannot be shown.
83
+
[page:Scene scene]: The scene rendered by the camera. If not given, gizmos cannot be shown. (optional)
84
84
</p>
85
85
86
86
<h2>Events</h2>
@@ -102,6 +102,8 @@ <h3>end</h3>
102
102
103
103
<h2>Properties</h2>
104
104
105
+
<p>See the base [page:Controls] class for common properties.</p>
106
+
105
107
<h3>[property:Boolean adjustNearFar]</h3>
106
108
<p>
107
109
If true, camera's near and far values will be adjusted every time zoom is performed trying to mantain the same visible portion
@@ -125,17 +127,6 @@ <h3>
125
127
The damping inertia used if [page:.enableAnimations] is set to true.
126
128
</p>
127
129
128
-
<h3>[property:HTMLDOMElement domElement]</h3>
129
-
<p>
130
-
The HTMLDOMElement used to listen for mouse / touch events. This must be passed in the constructor; changing it here will
131
-
not set up new event listeners.
132
-
</p>
133
-
134
-
<h3>[property:Boolean enabled]</h3>
135
-
<p>
136
-
When set to `false`, the controls will not respond to user input. Default is `true`.
137
-
</p>
138
-
139
130
<h3>[property:Boolean enableAnimations]</h3>
140
131
<p>
141
132
Set to true to enable animations for rotation (damping) and focus operation. Default is true.
0 commit comments