Share via


Int64Animation.GetCurrentValueCore(Int64, Int64, AnimationClock) 方法

定義

計算這個動畫認為的值應是屬性的目前值。

protected:
 override long GetCurrentValueCore(long defaultOriginValue, long defaultDestinationValue, System::Windows::Media::Animation::AnimationClock ^ animationClock);
protected override long GetCurrentValueCore (long defaultOriginValue, long defaultDestinationValue, System.Windows.Media.Animation.AnimationClock animationClock);
override this.GetCurrentValueCore : int64 * int64 * System.Windows.Media.Animation.AnimationClock -> int64
Protected Overrides Function GetCurrentValueCore (defaultOriginValue As Long, defaultDestinationValue As Long, animationClock As AnimationClock) As Long

參數

defaultOriginValue
Int64

如果動畫沒有它自己的開始值概念,則這個值是提供給要使用之動畫的建議原始值。 如果這個動畫是撰寫鏈結的第一個項目,則這個值會是快照值 (如果有的話) 或基底屬性值 (如果不是的話),否則這個值會是這個鏈結中前一個 animationClock 未停止的動畫所傳回的值。

defaultDestinationValue
Int64

如果動畫沒有它自己的結束值概念,則這個值是提供給要使用之動畫的建議目標值。 如果動畫是位在屬性的第一個動畫撰寫層,則這個值為基底值,否則這個值將是屬性前一個動畫撰寫層的輸出值。

animationClock
AnimationClock

這是可以產生 CurrentTime 或 CurrentProgress 值的 animationClock,動畫使用這個值來產生其輸出值。

傳回

這個動畫認為應該是該屬性目前值的值。

適用於