C3DMesh::UseVertexColor

Top  Previous  Next

Syntax:

 

UseVertexColor(int  bValue)

 

Purpose:

Specify whether a mesh uses vertex coloring or material coloring..

 

Parameters:

bValue - True to use the color specified in the vertex, FALSE to use the material set for the mesh.

 

Returned value(s):

None.

 

Application:

sphere.UseVertexColor(TRUE)

 

Class Hierarchy

C3DObject

-------C3DMesh

 

See Also:

SetMaterial