AnimationRunTime
是 Animator 及其相关函数的选项,指示动画已连续运行多长时间.
更多信息
- AnimationRunTime 是自动画开始后已经持续的实际时间的绝对秒数.
- 每当一个动画开始时,AnimationRunTime 将被重置为0.
范例
打开所有单元 关闭所有单元基本范例 (1)
属性和关系 (2)
DynamicModule[{runtime, index}, Column[{Animator[.9, AnimationRepetitions -> 1, AnimationRunTime -> Dynamic[runtime], AnimationTimeIndex -> Dynamic[index]],
Dynamic[StringTemplate["runtime: ``, index: ``"][runtime, index]]}]]DynamicModule[{runtime, index}, Column[{Animator[0, AnimationRepetitions -> 3, AnimationRunTime -> Dynamic[runtime], AnimationTimeIndex -> Dynamic[index]],
Dynamic[StringTemplate["runtime: ``, index: ``"][runtime, index]]}]]相关指南
文本
Wolfram Research (2014),AnimationRunTime,Wolfram 语言函数,https://reference.wolfram.com/language/ref/AnimationRunTime.html.
CMS
Wolfram 语言. 2014. "AnimationRunTime." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/AnimationRunTime.html.
APA
Wolfram 语言. (2014). AnimationRunTime. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/AnimationRunTime.html 年
BibTeX
@misc{reference.wolfram_2026_animationruntime, author="Wolfram Research", title="{AnimationRunTime}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/AnimationRunTime.html}", note=[Accessed: 07-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_animationruntime, organization={Wolfram Research}, title={AnimationRunTime}, year={2014}, url={https://reference.wolfram.com/language/ref/AnimationRunTime.html}, note=[Accessed: 07-August-2026]}