7
7
< link type ="text/css " rel ="stylesheet " href ="page.css " />
8
8
</ head >
9
9
< body >
10
+ [page:Controls] →
10
11
11
12
< h1 > [name]</ h1 >
12
13
@@ -61,17 +62,6 @@ <h3>[property:Boolean constrainVertical]</h3>
61
62
Whether or not looking around is vertically constrained by [[page:.verticalMin], [page:.verticalMax]]. Default is `false`.
62
63
</ p >
63
64
64
- < h3 > [property:HTMLDOMElement domElement]</ h3 >
65
- < p >
66
- The HTMLDOMElement used to listen for mouse / touch events. This must be passed in the constructor; changing it here will
67
- not set up new event listeners.
68
- </ p >
69
-
70
- < h3 > [property:Boolean enabled]</ h3 >
71
- < p >
72
- Whether or not the controls are enabled. Default is `true`.
73
- </ p >
74
-
75
65
< h3 > [property:Number heightCoef]</ h3 >
76
66
< p >
77
67
Determines how much faster the camera moves when it's y-component is near [page:.heightMax]. Default is *1*.
@@ -113,11 +103,6 @@ <h3>[property:Number movementSpeed]</h3>
113
103
The movement speed. Default is *1*.
114
104
</ p >
115
105
116
- < h3 > [property:Camera object]</ h3 >
117
- < p >
118
- The camera to be controlled.
119
- </ p >
120
-
121
106
< h3 > [property:Number verticalMax]</ h3 >
122
107
< p >
123
108
How far you can vertically look around, upper limit. Range is 0 to Math.PI radians. Default is `Math.PI`.
@@ -130,11 +115,6 @@ <h3>[property:Number verticalMin]</h3>
130
115
131
116
< h2 > Methods</ h2 >
132
117
133
- < h3 > [method:undefined dispose] ()</ h3 >
134
- < p >
135
- Should be called if the controls is no longer required.
136
- </ p >
137
-
138
118
< h3 > [method:undefined handleResize] ()</ h3 >
139
119
< p >
140
120
Should be called if the application window is resized.
@@ -156,16 +136,6 @@ <h3>[method:FirstPersonControls lookAt]( [param:Vector3 vector] )<br />
156
136
</ p >
157
137
</ p >
158
138
159
- < h3 > [method:undefined update] ( [param:Number delta] )</ h3 >
160
- < p >
161
- < p >
162
- [page:Number delta]: Time delta value.
163
- </ p >
164
- < p >
165
- Updates the controls. Usually called in the animation loop.
166
- </ p >
167
- </ p >
168
-
169
139
< h2 > Source</ h2 >
170
140
171
141
< p >
0 commit comments