VectorAnimation.GetCurrentValueCore(Vector, Vector, AnimationClock) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
計算一個代表被動畫屬性目前值的值,該值由 VectorAnimation決定。
protected:
override System::Windows::Vector GetCurrentValueCore(System::Windows::Vector defaultOriginValue, System::Windows::Vector defaultDestinationValue, System::Windows::Media::Animation::AnimationClock ^ animationClock);
protected override System.Windows.Vector GetCurrentValueCore(System.Windows.Vector defaultOriginValue, System.Windows.Vector defaultDestinationValue, System.Windows.Media.Animation.AnimationClock animationClock);
override this.GetCurrentValueCore : System.Windows.Vector * System.Windows.Vector * System.Windows.Media.Animation.AnimationClock -> System.Windows.Vector
Protected Overrides Function GetCurrentValueCore (defaultOriginValue As Vector, defaultDestinationValue As Vector, animationClock As AnimationClock) As Vector
參數
- defaultOriginValue
- Vector
建議的起始值,若動畫沒有明確設定的起始值,則使用。
- defaultDestinationValue
- Vector
建議的目的地值,若動畫沒有明確設定的結束值,則使用。
- animationClock
- AnimationClock
一個 AnimationClock 產生動畫所使用的 或 CurrentTimeCurrentProgress 的 。
傳回
根據當前動畫計算出的屬性價值。
備註
如果 是 defaultOriginValue 組合鏈中的第一個,這個值會是快照值(如果有的話)或基礎屬性值;否則這個值就是前一個動畫中 回傳的值,且 AnimationClock 不是 Stopped。
若動畫位於屬性的第一個合成層動畫中,則 defaultDestinationValue 為基礎值;否則,該值為該屬性前一組合成層動畫的輸出值。