IUIAnimationInterpolator2 インターフェイス (uianimation.h)

カスタム補間を作成するためのメソッドを定義する IUIAnimationInterpolator インターフェイスを拡張します。 IUIAnimationInterpolator2 では、特定のディメンションでの補間がサポートされています。

継承

IUIAnimationInterpolator2 インターフェイスは、IUIAnimationInterpolator から継承します。 IUIAnimationInterpolator2 には、次の種類のメンバーもあります。

メソッド

IUIAnimationInterpolator2 インターフェイスには、これらのメソッドがあります。

 
IUIAnimationInterpolator2::GetDependencies

指定されたディメンションについて、GetDependencies は IUIAnimationInterpolator2::SetInitialValueAndVelocity メソッドに渡される初期値または速度に依存する補間器の側面、または IUIAnimationInterpolator2::SetDuration メソッドに渡される期間を取得します。
IUIAnimationInterpolator2::GetDimension

補間を必要とするディメンションの数を取得します。
IUIAnimationInterpolator2::GetDuration

指定したディメンションの遷移の期間を取得します。
IUIAnimationInterpolator2::GetFinalValue

指定したディメンションの切り替えの最後の値を取得します。
IUIAnimationInterpolator2::GetPrimitiveInterpolation

指定したアニメーション カーブのプリミティブ補間を生成します。
IUIAnimationInterpolator2::InterpolateValue

アニメーション変数の値を、指定したオフセットと指定したディメンションに対して補間します。
IUIAnimationInterpolator2::InterpolateVelocity

指定した寸法の指定したオフセットで速度(変化率)を補間します。
IUIAnimationInterpolator2::SetDuration

指定したディメンションの切り替えの期間を設定します。
IUIAnimationInterpolator2::SetInitialValueAndVelocity

指定した寸法の遷移の初期値と速度を設定します。

注釈

クライアント アプリケーションは、IUIAnimationTransitionLibrary または IUIAnimationTransitionLibrary2 インターフェイス、またはサード パーティが提供するライブラリで提供される遷移を使用できます。ただし、カスタム遷移は、IUIAnimationInterpolator または IUIAnimationInterpolator2 インターフェイスを実装することによって作成できます。

Windows アニメーションでカスタム補間機能を使用するには、IUIAnimationTransition インターフェイス (IUIAnimationTransitionFactory::CreateTransition を呼び出すことによって) または IUIAnimationTransition2 インターフェイス (IUIAnimationTransitionFactory2::CreateTransition を呼び出して) を実装し、カスタム補間器を渡すオブジェクトでラップする必要があります。 補間ラッパーが作成されると、クライアント アプリケーションは IUIAnimationTransition または IUIAnimationTransition2 インターフェイスを使用して補間器と対話します。

カスタム補間器はアプリケーション間で再利用できますが、IUIAnimationTransition インターフェイスまたは IUIAnimationTransition2 インターフェイスを返すファクトリ インターフェイスを使用して公開することをお勧めします。

要件

要件
サポートされている最小のクライアント Windows 8、Windows 7、および Windows 7 用プラットフォーム更新プログラム [デスクトップ アプリ |UWP アプリ]
サポートされている最小のサーバー サポートなし
対象プラットフォーム Windows
ヘッダー uianimation.h

こちらもご覧ください

IUIAnimationInterpolator

IUIAnimationPrimitiveInterpolation

インターフェイス