VertexColor
Sets a vertex colour.
VertexColor ( surface,index,red#,green#,blue#[,alpha#] )
Parameters
- surface
- the surface's handle.
- index
- the point's number, counting from 0.
- red#
- how much red, from 0 to 255.
- green#
- how much green.
- blue#
- how much blue.
- alpha# (optional)
- how solid it is, from 0 (see-through) to 1 (solid).
Description
Sets the colour of a point of a surface. Colours blend smoothly across each triangle between its corners. They show when the mesh is drawn with point colours (EntityFX 2).
