語言

Point3DAnimation.GetCurrentValueCore(Point3D, Point3D, AnimationClock) 方法

定義

計算一個代表被動畫屬性目前值的值,該值由 Point3DAnimation決定。

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

參數

defaultOriginValue
Point3D

建議的起始值,若動畫沒有明確設定的起始值,則使用。

defaultDestinationValue
Point3D

建議的目的地值,若動畫沒有明確設定的結束值,則使用。

animationClock
AnimationClock

一個 AnimationClock 產生動畫所使用的 或 CurrentTimeCurrentProgress 的 。

傳回

根據當前動畫計算出的屬性價值。

備註

如果 是 defaultOriginValue 組合鏈中的第一個,這個值會是快照值(如果有的話)或基礎屬性值;否則這個值就是前一個動畫中 回傳的值,且 AnimationClock 不是 Stopped。

若動畫位於屬性的第一個合成層動畫中,則 defaultDestinationValue 為基礎值;否則,該值為該屬性前一組合成層動畫的輸出值。

適用於