MatrixAnimationBase.GetCurrentValueCore メソッド

定義

派生クラスで実装された場合、アニメーションの現在の値を計算します。

protected:
 abstract System::Windows::Media::Matrix GetCurrentValueCore(System::Windows::Media::Matrix defaultOriginValue, System::Windows::Media::Matrix defaultDestinationValue, System::Windows::Media::Animation::AnimationClock ^ animationClock);
protected abstract System.Windows.Media.Matrix GetCurrentValueCore (System.Windows.Media.Matrix defaultOriginValue, System.Windows.Media.Matrix defaultDestinationValue, System.Windows.Media.Animation.AnimationClock animationClock);
abstract member GetCurrentValueCore : System.Windows.Media.Matrix * System.Windows.Media.Matrix * System.Windows.Media.Animation.AnimationClock -> System.Windows.Media.Matrix
Protected MustOverride Function GetCurrentValueCore (defaultOriginValue As Matrix, defaultDestinationValue As Matrix, animationClock As AnimationClock) As Matrix

パラメーター

defaultOriginValue
Matrix

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

defaultDestinationValue
Matrix

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

animationClock
AnimationClock

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

戻り値

このアニメーションで使用される値は、プロパティの現在の値である必要があります。

注釈

パラメーターの値は、 defaultOriginValue コンポジション チェーン内でのアニメーションの位置によって異なります。

  • アニメーションがコンポジション チェーンの最初の位置にあり、別のアニメーションを置き換える場合は、 defaultOriginValue そのアニメーションが置き換えられた時点での出力になります。

  • アニメーションがコンポジション チェーンの最初の位置にあり、置き換えるアニメーションが存在しない場合、 defaultOriginValue はアニメーション化されたプロパティの基本値です。

  • このアニメーションがコンポジション チェーンの最初の位置にない場合、 defaultOriginValue は、 ではないStoppedコンポジション チェーンAnimationClock内の前のアニメーションによって返される値です。

パラメーターの値は、 defaultDestinationValue 以前のプロパティ Trigger コンポジションレイヤーがあるかどうかによって異なります。

  • 以前のプロパティ Trigger コンポジションレイヤーがある場合は、 defaultDestinationValue そのレイヤーからの出力です。

  • 前のコンポジション レイヤーがない場合、 defaultDestinationValue はアニメーション化するプロパティの基本値です。

アニメーションの構成の詳細については、「 アニメーションとタイミング システムの概要」を参照してください。 カスタム アニメーションの種類の作成の詳細については、「 カスタム アニメーションの概要」を参照してください。

適用対象