Previous Up Next

M3topoSetColorVertex
Takes a topology as a parameter.
Defines the color of vertex number '_index_' for texture number '_num_' (1 or 2), in hexadecimal RGB format.
The topology associated to the mesh automatically switches to 'dynamic' mode (as opposed to 'static').

I M3topoSetColorVertex (
S3d _session_
H3d _topo_
I _index_
I _numTex_
I _color_
)
Parameters

_session_
3D Session
_topo_
Topology
_index_
Vertex index
_numTex_
Texture number (1 or 2)
_color_
Color to be attributed
Return value

0 if successful, otherwise nil