hgeSprite::SetFlip

Flips the sprite horizontally and/or vertically.

void SetFlip(
  bool bX,
  bool bY,
  bool bHotSpot = false
);

Parameters

bX
If true, the sprite will be flipped horizontally.
bY
If true, the sprite will be flipped vertically.
bHotSpot
If true, the flipping will occur relatively to anchor point of the sprite. Otherwise just the image is flipped and anchor point remains as is.

Requirements

Header: hgesprite.h
Import library: hgehelp.lib

See also

GetFlip