MidHandle3D sprite

Parameters

sprite - handle of existing sprite

Description

Sets the handle (axis) of the sprite entity to its central position.

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

See Also:

HandleImage3D() , ImageXHandle() , ImageYHandle()

Thanks go to bot builder for his sample code

Example

Include "Sprite Control.bb"

SpriteGraphics3D 640,480

mysprite=LoadImage3D("myimage.bmp")
MidHandle3D mysprite

RenderWorld
Flip
WaitKey
End


Index