次の方法で共有


CInterpolatorBase::GetDependencies

インターポレータの依存関係を取得します

IFACEMETHOD(
   GetDependencies
)(__out UI_ANIMATION_DEPENDENCIES *initialValueDependencies, __out UI_ANIMATION_DEPENDENCIES *initialVelocityDependencies, __out UI_ANIMATION_DEPENDENCIES *durationDependencies);

パラメーター

  • initialValueDependencies
    出力。SetInitialValueAndVelocity に渡される初期値に依存するインターポレータの要素。

  • initialVelocityDependencies
    出力。SetInitialValueAndVelocity に渡される初期速度に依存するインターポレータの要素。

  • durationDependencies
    出力。SetDuration に渡される継続時間に依存するインターポレータの要素。

戻り値

メソッドが成功した場合は、S_OK を返します。CCustomInterpolator が設定されていない場合は E_FAIL を返し、カスタム実装の場合は GetDependencies メソッドから FALSE を返します。

必要条件

ヘッダー: afxanimationcontroller.h

参照

関連項目

CInterpolatorBase クラス