Project

General

Profile

Previous Up Next

M3setFaceTexCoord
Takes a topology as a parameter. Defines the texture coordinates for texture number '_numTex_' (= 1 or 2) applied to face number '_index_'.
The texture coordinates are integer values. The edges of a texture are 0 and 255
The topology automatically switches to 'dynamic' mode (as opposed to 'static').

I M3setFaceTexCoord (
S3d _session_
H3d _topo_
I _index_
I _numTex_
[[I I] [I I] [I I]] _texCoords_
)
Parameters

_session_
3D Session
_topo_
Topology
_index_
Face index
_numTex_
Texture number (1 or 2)
_texCoords_
Texture coordinates
Return value

0 if successful, otherwise nil
See Also

M3getFaceTexCoord