DisplaySprite3D()
Syntax
DisplaySprite3D(#Sprite3D, x, y, Transparency)Description
Display the specified #Sprite3D at the given (x,y) coordinates. A Transparency value is used and should be between 0 and 255. 0 means invisible, 255 means opaque. Any values in this range can be used. For better rendering, a 32bit screen mode is strongly recommended for smooth fadein/fadeout. With Sprite3DQuality() you can adjust the rendering mode of the 3D sprite if needed.
To display a sprite with alpha-channel support, the sprite which has been choosen to create the 3D sprite should have the #PB_Sprite_AlphaBlending flag specified.
Start3D() must be called before using this function. If several 3D sprites should be displayed, it's much better to display them all in one time. Example:Start3D() DisplaySprite3D(1, 100, 100, 128) DisplaySprite3D(2, 100, 150, 100) ; ... Stop3D()
Supported OS
Windows, MacOS X