語言

Vector3DAnimationUsingKeyFrames.GetCurrentValueCore 方法

定義

計算出一個代表被動畫屬性目前值的值,該值由此實例 Vector3DAnimationUsingKeyFrames決定。

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

參數

defaultOriginValue
Vector3D

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

defaultDestinationValue
Vector3D

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

animationClock
AnimationClock

一個AnimationClock產生CurrentTimeCurrentProgress或由主機使用的動畫的

傳回

根據當前實例計算出的財產價值。

備註

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

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

適用於

另請參閱