hgeAnimation::SetMode

Sets the animation playback mode.

void SetMode(
  int mode
);

Parameters

mode
Bitwise or (|) combination of playback constants:
HGEANIM_FWD - Play the animation forward
HGEANIM_REV - Reverse the animation
HGEANIM_PINGPONG - Use ping-pong cycle
HGEANIM_NOPINGPONG - Don't use ping-pong cycle
HGEANIM_LOOP - Loop the animation
HGEANIM_NOLOOP - Don't loop the animation

Remarks

Default animation mode is HGEANIM_FWD | HGEANIM_LOOP.

Requirements

Header: hgeanim.h
Import library: hgehelp.lib

See also

GetMode