HC_MSet_Spec_Vert_Col_By_FIndex

void HC_MSet_Spec_Vert_Col_By_FIndex(Key key, char const *types, int count, int const offsets[], float const indices[])
void HC_MSet_Spec_Vert_Col_By_FIndex(Key key, char const types, int count, int const offsets, float const indices)

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_FIndex, HC_MUnSet_Vertex_Colors, HC_MUnSet_Specific_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, vertex, edges or faces”. 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.

findices: Vector (1-D array) of floating-index values. You can use a color map that has RGBA values as well as the usual “HLS”, “HSV”, “HIC”, or “RGB” color spaces. Passed by reference always.