FrameAnimator::GetFrameInterpolator
Defined in:
Returns the interpolator used to play animation frames.
C4Animation.h
Prototype
Interpolator *GetFrameInterpolator(void);
const Interpolator *GetFrameInterpolator(void) const;
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