|
@@ -91,7 +91,7 @@
|
|
|
<h3>[property:Boolean autoRotate]</h3>
|
|
|
<p>
|
|
|
Set to true to automatically rotate around the target.<br> Note that if this is enabled, you must call [page:.update]
|
|
|
- () in your animation loop.
|
|
|
+ () in your animation loop. If you want the animation to be frame rate independent, apply a time delta value to [page:.update]().
|
|
|
</p>
|
|
|
|
|
|
<h3>[property:Float autoRotateSpeed]</h3>
|
|
@@ -320,10 +320,11 @@ controls.touches = {
|
|
|
Removes the key event listener previously defined with [page:.listenToKeyEvents]().
|
|
|
</p>
|
|
|
|
|
|
- <h3>[method:Boolean update] ()</h3>
|
|
|
+ <h3>[method:Boolean update] ( [param:Number deltaTime] )</h3>
|
|
|
<p>
|
|
|
Update the controls. Must be called after any manual changes to the camera's transform,
|
|
|
- or in the update loop if [page:.autoRotate] or [page:.enableDamping] are set.
|
|
|
+ or in the update loop if [page:.autoRotate] or [page:.enableDamping] are set. `deltaTime` is optional
|
|
|
+ and only required if you want [page:.autoRotate] to be frame rate independent.
|
|
|
</p>
|
|
|
|
|
|
<h2>Source</h2>
|