AnimationTimeIndex
Animatorおよび関連関数のオプションで,アニメータの現行の時間指標を指定する.
詳細
- AnimationTimeIndexは,0からアニメーションの終りまで(秒単位)である.
- AnimationTimeIndexは,アニメータの最小値で0であり,最大値は duration である.
- よく使われるデフォルトの設定値はAnimationTimeIndex -> Automaticで,この場合はアニメーションから適切な値が計算される.
- Animator[Dynamic[var],…]の実行中にアニメータの外で var を変えてもAnimationTimeIndexには影響しない.
- AnimationTimeIndexは,離散的なアニメーションについてさえも継続的に変化する.
- AnimationDirectionはAnimationTimeIndexには影響しない.
例題
すべて開く すべて閉じる例 (2)
スコープ (1)
一時停止中のアニメーションをインタラクティブに変更すると,AnimationTimeIndexの値も変更される:
考えられる問題 (1)
実行中のアニメータをプログラムを使って変更する場合は,アニメーションの変数ではなくAnimationTimeIndexの値を変えるとよい:
関連するガイド
テキスト
Wolfram Research (2014), AnimationTimeIndex, Wolfram言語関数, https://reference.wolfram.com/language/ref/AnimationTimeIndex.html.
CMS
Wolfram Language. 2014. "AnimationTimeIndex." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AnimationTimeIndex.html.
APA
Wolfram Language. (2014). AnimationTimeIndex. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AnimationTimeIndex.html
BibTeX
@misc{reference.wolfram_2025_animationtimeindex, author="Wolfram Research", title="{AnimationTimeIndex}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/AnimationTimeIndex.html}", note=[Accessed: 30-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_animationtimeindex, organization={Wolfram Research}, title={AnimationTimeIndex}, year={2014}, url={https://reference.wolfram.com/language/ref/AnimationTimeIndex.html}, note=[Accessed: 30-April-2026]}