Previous Up Next

M3setSpriteTexCoordF
Redefines the texture coordinates for textures #1 and #2, for the 4 corners of the sprite.

I M3setSpriteTexCoordF (
S3d _session_
H3d _sprite_
[[I I] r1] _texCoord1_
[[I I] r1] _texCoord2_
)
Parameters

_session_
3D Session
_sprite_
Sprite
_texCoord1_
Texture coordinate #1
_texCoord2_
Texture coordinates #2
Return value

0 if successful, otherwise nil