HC_MSet_Spec_Vert_Col_By_Value

void HC_MSet_Spec_Vert_Col_By_Value(Key key, char const *types, int count, int const offsets[], char const *color_space, RGB const values[])
void HC_MSet_Spec_Vert_Col_By_Value(Key key, char const types, int count, int const offsets, char const color_space, RGB const values)

Sets the color on an arbitrary set of shell, mesh, or polycylinder vertices.

This function allows the user to modify the colors on a set of arbitrary vertices, as opposed to a range of adjacent vertices.

HC_Set_Color, HC_Set_Color_By_Value, HC_Set_Color_By_Index, HC_Set_Rendering_Options, HC_Set_Normal, HC_Define_Texture, HC_Open_Vertex, HC_MSet_Vertex_Colors_By_Value, HC_MUnSet_Specific_Vertex_Colors, HC_MUnSet_Vertex_Colors

Parameters

key: The unique identifier returned by a previous call to Insert_Mesh(), Insert_Shell(), or Insert_PolyCylinder().

types: A list of which color types are to be affected. Currently the legal values for this parameter are “markers (or vertex)”. Uppercase versus lowercase is not significant.

count: The number of values contained in offsets.

offsets: Offsets of the points in the surface definition on which to work.

color_space: Special constant: “HLS”, “HSV”, “HIC”, “RGB” or “RGBA”. Please note that the constant is a quoted string. Uppercase versus lowercase is not significant.

values: An array of triples (the same format as the array in Insert_Polyline()) or quartets if using the “RGBA” color space that specifies the locations in the selected color space. Passed by reference always.