Udostępnij za pośrednictwem


Klasa CInterpolatorBase

Implementuje wywołania zwrotnego, która jest wywoływana przez interfejs API animacji, gdy obliczyć wartość zmiennej animacji.

class CInterpolatorBase : public CUIAnimationInterpolatorBase<CInterpolatorBase>;

Członkowie

Gg482735.collapse_all(pl-pl,VS.110).gifPubliczne konstruktory

Nazwa

Opis

CInterpolatorBase::CInterpolatorBase

Konstrukcje CInterpolatorBase obiektu.

Gg482735.collapse_all(pl-pl,VS.110).gifMetody publiczne

Nazwa

Opis

CInterpolatorBase::CreateInstance

Tworzy wystąpienie CInterpolatorBase i przechowuje wskaźnik do interpolator niestandardowy, który będzie obsługa zdarzeń.

CInterpolatorBase::GetDependencies

Pobiera zależności interpolator.(Zastępuje CUIAnimationInterpolatorBase::GetDependencies.)

CInterpolatorBase::GetDuration

Pobiera czas interpolator.(Zastępuje CUIAnimationInterpolatorBase::GetDuration.)

CInterpolatorBase::GetFinalValue

Pobiera wartość końcową, do którego prowadzi interpolator.(Zastępuje CUIAnimationInterpolatorBase::GetFinalValue.)

CInterpolatorBase::InterpolateValue

Program interpoluje wartości danego przesunięcia (zastępuje CUIAnimationInterpolatorBase::InterpolateValue.)

CInterpolatorBase::InterpolateVelocity

Program interpoluje prędkość w danym przesunięcie (zastępuje CUIAnimationInterpolatorBase::InterpolateVelocity.)

CInterpolatorBase::SetCustomInterpolator

Przechowuje wskaźnik do interpolator niestandardowy, który będzie obsługa zdarzeń.

CInterpolatorBase::SetDuration

Ustawia czas trwania interpolator (zastępuje CUIAnimationInterpolatorBase::SetDuration.)

CInterpolatorBase::SetInitialValueAndVelocity

Ustawia wartość początkowa i prędkość interpolator.(Zastępuje CUIAnimationInterpolatorBase::SetInitialValueAndVelocity.)

Uwagi

Utworzony i przekazany do obsługi tej IUIAnimationTransitionFactory::CreateTransition po CCustomTransition utworzeniu obiektu jako część procesu inicjowania animacji (uruchomiony przez CAnimationController::AnimateGroup).Zazwyczaj nie trzeba używać bezpośrednio do tej klasy, to właśnie routs wszystkie zdarzenia do CCustomInterpolator-klasy, w których wskaźnik jest przekazywany do konstruktora CCustomTransition.

Hierarchii dziedziczenia

CUIAnimationCallbackBase

CUIAnimationInterpolatorBase

CInterpolatorBase

Wymagania

Nagłówek: afxanimationcontroller.h

Zobacz też

Inne zasoby

Klasy MFC