CInterpolatorBase クラス
アニメーション変数の新しい値を計算する必要があるときに、Animation API によって呼び出されるコールバックを実装します。
class CInterpolatorBase : public CUIAnimationInterpolatorBase<CInterpolatorBase>;
メンバー
パブリック コンストラクター
名前 |
説明 |
---|---|
CInterpolatorBase オブジェクトを構築します。 |
パブリック メソッド
名前 |
説明 |
---|---|
CInterpolatorBase のインスタンスを作成し、イベントを処理するカスタムのインターポレータへのポインターを格納します。 |
|
インターポレータの依存関係を取得します (CUIAnimationInterpolatorBase::GetDependencies をオーバーライドします。) |
|
インターポレータの継続時間を取得します (CUIAnimationInterpolatorBase::GetDuration をオーバーライドします。) |
|
インターポレータによる最終値を取得します (CUIAnimationInterpolatorBase::GetFinalValue をオーバーライドします。) |
|
補間します。指定したオフセット位置 (をオーバーライドします。) に値を CUIAnimationInterpolatorBase::InterpolateValue |
|
補間します (をオーバーライド指定したオフセット位置で速度を CUIAnimationInterpolatorBase::InterpolateVelocity。 |
|
イベントを処理するカスタムのインターポレータへのポインターを格納します。 |
|
インターポレータの継続時間を CUIAnimationInterpolatorBase::SetDuration (をオーバーライドします。) |
|
インターポレータの初期値および初期速度を設定します (CUIAnimationInterpolatorBase::SetInitialValueAndVelocity をオーバーライドします。) |
解説
このハンドラーは IUIAnimationTransitionFactory::CreateTransition に CCustomTransition のオブジェクトとしてアニメーションの初期化処理の一環作成されるときに作成され、渡されます ( CAnimationController::AnimateGroupが開始される) 通常 CCustomInterpolatorに、すべてのイベントをルーティングするだけ-ポインターが CCustomTransitionのコンストラクターに渡される派生クラスにこのクラスを直接使用する必要はありません。
継承階層
CUIAnimationCallbackBase
CUIAnimationInterpolatorBase
CInterpolatorBase
必要条件
ヘッダー: afxanimationcontroller.h