Functions | |
void | MSet_Vertex_Colors_By_FIndex (HC_KEY key, const char *types, int offset, int count, const float *findices) |
MSet_Specific_Vertex_Colors_By_FIndex (HC_KEY key, const char *string, int count, int *offsets, float *indices) |
void MSet_Vertex_Colors_By_FIndex | ( | HC_KEY | key, | |
const char * | types, | |||
int | offset, | |||
int | count, | |||
const float * | findices | |||
) |
Sets the color on a contiguous range of shell, mesh, or polycylinder vertices.
key | The unique identifier returned by a previous call to KInsert_Mesh(), KInsert_Shell(), or KInsert_PolyCylinder(). | |
types | A list of which geometry types are to be affected. Currently the legal values for this parameter are "markers (or vertex), edges or faces". Uppercase versus lowercase is not significant. | |
offset | Number of the point in the surface definition at which to start work. "0" is the first offset value. | |
count | The number of values contained in findices. | |
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. |
MSet_Specific_Vertex_Colors_By_FIndex | ( | HC_KEY | key, | |
const char * | types, | |||
int | count, | |||
int * | offsets, | |||
float * | indices | |||
) |
Sets the color on an arbitrary set of shell, mesh, or polycylinder vertices.
key | The unique identifier returned by a previous call to KInsert_Mesh(), KInsert_Shell(), or KInsert_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. |