CharAnimationUsingKeyFrames.GetCurrentValueCore メソッド

定義

この CharAnimationUsingKeyFrames のインスタンスによって決定されたとおり、アニメーション化されているプロパティの現在の値を表す値を計算します。

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

パラメーター

defaultOriginValue
Char

アニメーションに独自の明示的な開始値が設定されていない場合に使用される、元の推奨値。

defaultDestinationValue
Char

アニメーションが独自の明示的な終了値を持たない場合に使用される、終点の推奨値。

animationClock
AnimationClock

ホスト アニメーションで使用される CurrentTime または CurrentProgress を生成する AnimationClock

戻り値

Char

現在のインスタンスで決定されたとおりに計算されたプロパティ値。

注釈

合成チェーンの defaultOriginValue 最初の値である場合、この値はスナップショット値 (使用可能な場合) または基本プロパティ値になります。それ以外の場合、この値はチェーン AnimationClock 内の前のアニメーションで返された値であり、それ以外 Stoppedの値になります。

defaultDestinationValueアニメーションがプロパティのアニメーションの最初の合成レイヤーにある場合は基本値です。それ以外の場合、値はプロパティのアニメーションの前のコンポジション レイヤーからの出力値です。

適用対象

こちらもご覧ください