file$ - filename of image file to be used flags
(optional): * Default parent (optional) - give an alternative entity in
which to attach the sprite to |
Creates a quad entity from an image file. The entity is then attached to the sprite pivot (or parent if supplied). The sprites width and height are set to the pixel size of the image. The optional flags parameter can be used to apply different effects to the texture. Default value is 4. * NOTE: It is important to initialise the sprite
display system first! Alternatively, you might want to attach the sprite to
your own pivot/entity. See Also: FreeImage3D |
Include "Sprite Control.bb" SpriteGraphics3D 640,480 mysprite=LoadImage3D("myimage.bmp") Flip |