共用方式為


CCustomInterpolator::InterpolateVelocity

在指定的位移對速度進行插補

virtual BOOL InterpolateVelocity(
   UI_ANIMATION_SECONDS */,
   DOUBLE *velocity
);

參數

  • velocity
    輸出。 變數在位移處的速度。

傳回值

基本實作永遠會傳回 TRUE。 如果您想要讓事件失敗,請從覆寫的實作傳回 FALSE。

需求

**標頭檔:**afxanimationcontroller.h

請參閱

參考

CCustomInterpolator 類別