瀏覽代碼

Updates the documentation to include information for the `setTime(timeInSeconds)` method of the AnimationMixer object.

Bug-Reaper 5 年之前
父節點
當前提交
3d49b133d8
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      docs/api/en/animation/AnimationMixer.html

+ 7 - 0
docs/api/en/animation/AnimationMixer.html

@@ -85,6 +85,13 @@
 			This is usually done in the render loop, passing [page:Clock.getDelta clock.getDelta] scaled by the mixer's [page:.timeScale timeScale]).
 		</p>
 
+		<h3>[method:AnimationMixer setTime]([param:Number timeInSeconds]) </h3>
+		<p>
+			Sets the global mixer to a specific time and updates the animation accordingly.<br /><br />
+
+			This is useful when you need to jump to an exact time in an animation. The input parameter will be scaled by the mixer's [page:.timeScale timeScale].
+		</p>
+
 		<h3>[method:null uncacheClip]([param:AnimationClip clip])</h3>
 
 		<p>