Share via


CCustomInterpolator 類別

實作基本 Interpolator。

class CCustomInterpolator;

Members

Gg466721.collapse_all(zh-tw,VS.110).gif公用建構函式

名稱

描述

CCustomInterpolator::CCustomInterpolator

多載。 建構自訂插補器物件,並將期間和速度初始化為指定的值。

Gg466721.collapse_all(zh-tw,VS.110).gif公用方法

名稱

描述

CCustomInterpolator::GetDependencies

取得插補器的相依性。

CCustomInterpolator::GetDuration

取得插補器的期間。

CCustomInterpolator::GetFinalValue

取得插補器所導致的最終值。

CCustomInterpolator::Init

初始化期間和最終值。

CCustomInterpolator::InterpolateValue

在指定的位移對該值進行插補。

CCustomInterpolator::InterpolateVelocity

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

CCustomInterpolator::SetDuration

設定插補器的期間。

CCustomInterpolator::SetInitialValueAndVelocity

設定插補器的起始值和速度。

Gg466721.collapse_all(zh-tw,VS.110).gif受保護的資料成員

名稱

描述

CCustomInterpolator::m_currentValue

插補後的值。

CCustomInterpolator::m_currentVelocity

插補的速度。

CCustomInterpolator::m_duration

轉換的期間。

CCustomInterpolator::m_finalValue

變數在轉換結束時的最終值。

CCustomInterpolator::m_initialValue

變數在轉換開始時的值。

CCustomInterpolator::m_initialVelocity

變數在轉換開始時的速度。

備註

從 CCustomInterpolator 衍生類別,並覆寫所有必要的方法以實作自訂的內插補點演算法。 這個類別的指標應該做為參數傳遞至 CCustomTransition。

繼承階層架構

CCustomInterpolator

需求

**標頭檔:**afxanimationcontroller.h

請參閱

其他資源

MFC 類別