Previous Up Next

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

H3d M3createSpriteF (
S3d _session_
F _width_
F _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