C4 Engine
C4 Engine API Documentation

FrameAnimator::GetFrameInterpolator

Defined in:  C4Animation.h
Returns the interpolator used to play animation frames.
Prototype

Interpolator *GetFrameInterpolator(void);

const Interpolator *GetFrameInterpolator(voidconst;

Description
The GetFrameInterpolator function returns the Interpolator object that controls the playback of an animation resource. The functions of the Interpolator class are used to play and stop the animation as well as specify properties such as the playback rate, looping mode, and time range.

A completion function can be installed for the Interpolator object using the Completable::SetCompletionCallback function in order to receive a callback when an animation finishes playing.
See Also

Interpolator