width (optional) - the width (in pixels) of the
image. Default size=1 height (optional) - the height (in pixels) of the image. Default size=1 parent (optional) - give an alternative
entity in which to attach the sprite to |
Creates a blank quad entity. The width/height are used to set the sprites width/height in pixels. Leaving these blank will create a 1x1 pixel sized sprite. The entity is then attached to the sprite pivot (or parent if supplied). By default the sprite will appear as a plain white image. *
NOTE: It is important to initialise the sprite display
system first! |
Include "Sprite Control.bb" SpriteGraphics3D 640,480 mysprite=CreateImage3D(128,128) RenderWorld |