Interpolator::GetMode
Defined in:
Returns the current mode for an interpolator.
C4Time.h
Prototype
uint32 GetMode(void) const;
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