共用方式為


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,或自訂實作從 GetDependencies 方法傳回 FALSE,則會傳回 E_FAIL。

需求

**標頭檔:**afxanimationcontroller.h

請參閱

參考

CInterpolatorBase 類別