Previous Up Next

M3listOfColorVertices
Takes a topology or a mesh as a parameter.
Returns the list of colors attributed to the vertices in hexadecimal RGB format.
The '_num_' parameter specifies the texture number (1 or 2).

[I r1] M3listOfColorVertices (
S3d _session_
H3d _object_
I _numTex_
)
Parameters

_session_
3D Session
_object_
Topology or mesh
_numTex_
Texture number (1 or 2)
Return value

List of colors
Remark

In the case of a multi-topo mesh, only the active topology is concerned.