浏览代码

Merge pull request #11113 from jostschmithals/fixAnimationActionDocs

Docs: AnimationAction.isRunning clarification
Mr.doob 8 年之前
父节点
当前提交
79eb8a195f
共有 1 个文件被更改,包括 6 次插入4 次删除
  1. 6 4
      docs/api/animation/AnimationAction.html

+ 6 - 4
docs/api/animation/AnimationAction.html

@@ -219,13 +219,15 @@
 
 		<h3>[method:Boolean isRunning]()</h3>
 		<div>
-			Returns true if this action is activated in the mixer and currently playing (as opposed to
-			[page:.isScheduled isScheduled]).<br /><br />
+			Returns true if the action’s [page:.time time] is currently running.<br /><br />
 
-			In addition to being activated in the mixer the following conditions must be fulfilled:
+			In addition to being activated in the mixer (see [page:.isScheduled isScheduled]) the following conditions must be fulfilled:
 			[page:.paused paused] is equal to false, [page:.enabled enabled] is equal to true,
 			[page:.timeScale timeScale] is different from 0, and there is no scheduling for a delayed start
-			([page:.startAt startAt]).
+			([page:.startAt startAt]).<br /><br />
+
+			Note: *isRunning* being true doesn’t necessarily mean that the animation can actually be seen.
+			This is only the case, if [page:.weight weight] is additionally set to a non-zero value.
 		</div>
 
 		<h3>[method:Boolean isScheduled]()</h3>