C4 Engine
C4 Engine API Documentation

Interpolator::GetMode

Defined in:  C4Time.h
Returns the current mode for an interpolator.
Prototype

uint32 GetMode(voidconst;

Description
The GetMode function returns the current mode for an interpolator, which can be a combination (through logical OR) of the following constants.
kInterpolatorStop The interpolator is stopped.
kInterpolatorForward The interpolator is moving forward. Only one of kInterpolatorForward and kInterpolatorBackward may be set.
kInterpolatorBackward The interpolator is moving backward. Only one of kInterpolatorForward and kInterpolatorBackward may be set.
kInterpolatorLoop The interpolator is loops in the same direction when it reaches the maximum or minimum value.
kInterpolatorOscillate The interpolator reverses direction when it reaches the maximum value. If kInterpolatorLoop is also set, the interpolator reverses direction when it reaches the minimum value as well.
See Also

Interpolator::SetMode