FlipImage3D sprite[,horizontalflag][,verticalflag]

Parameters

sprite - handle of existing sprite
horizontalflag - flip horizontally (optional)
verticalflag - flip vertically (optional)

Description

Flips a sprite horizontally and/or vertically.
Using the command without any parameters performs a horizontal flip.

*NOTE: Any copies of the sprite are also affected by this command.

See also: RotateImage3D

Example

Include "Sprite Control.bb"

SpriteGraphics3D 640,480

mysprite=LoadImage3D("myimage.bmp")
FlipImage3D mysprite,False,True

RenderWorld
Flip
WaitKey
End


Index