Previous Up Next

M3createSprite
Creates a sprite of size '_width_' in X and '_height_' in Y and uses material '_material_'.

H3d M3createSprite (
S3d _session_
I _width_
I _height_
HMat3d _material_
I _flag_
)
Parameters

_session_
3D Session
_width_
Size in X
_height_
Size in Y
_material_
Material
_flag_
If the flag is zero, the sprite remains parallel to the sides of the screen, otherwise it orients itself based on the camera rotations
Return value

New sprite