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
@@ -54,35 +55,21 @@ <h3>change</h3>
54
55
55
56
< h2 > Properties</ h2 >
56
57
58
+ < p > See the base [page:Controls] class for common properties.</ p >
59
+
57
60
< h3 > [property:Boolean autoForward]</ h3 >
58
61
< p >
59
62
If set to `true`, the camera automatically moves forward (and does not stop) when initially translated. Default is `false`.
60
63
</ p >
61
64
62
- < h3 > [property:HTMLDOMElement domElement]</ h3 >
63
- < p >
64
- The HTMLDOMElement used to listen for mouse / touch events. This must be passed in the constructor; changing it here will
65
- not set up new event listeners.
66
- </ p >
67
-
68
65
< h3 > [property:Boolean dragToLook]</ h3 >
69
66
< p >
70
67
If set to `true`, you can only look around by performing a drag interaction. Default is `false`.
71
68
</ p >
72
69
73
- < h3 > [property:Boolean enabled]</ h3 >
74
- < p >
75
- When set to `false`, the controls will not respond to user input. Default is `true`.
76
- </ p >
77
-
78
70
< h3 > [property:Number movementSpeed]</ h3 >
79
71
< p >
80
- The movement speed. Default is *1*.
81
- </ p >
82
-
83
- < h3 > [property:Camera object]</ h3 >
84
- < p >
85
- The camera to be controlled.
72
+ The movement speed. Default is `1`.
86
73
</ p >
87
74
88
75
< h3 > [property:Number rollSpeed]</ h3 >
@@ -92,20 +79,7 @@ <h3>[property:Number rollSpeed]</h3>
92
79
93
80
< h2 > Methods</ h2 >
94
81
95
- < h3 > [method:undefined dispose] ()</ h3 >
96
- < p >
97
- Should be called if the controls is no longer required.
98
- </ p >
99
-
100
- < h3 > [method:undefined update] ( [param:Number delta] )</ h3 >
101
- < p >
102
- < p >
103
- [page:Number delta]: Time delta value.
104
- </ p >
105
- < p >
106
- Updates the controls. Usually called in the animation loop.
107
- </ p >
108
- </ p >
82
+ < p > See the base [page:Controls] class for common methods.</ p >
109
83
110
84
< h2 > Source</ h2 >
111
85
0 commit comments