Functions | |
void | MShow_Vertex_Colors_By_Value (HC_KEY key, const char *type, int offset, int pcount, HC_POINT *rgb) |
MShow_Specific_Vertex_Colors_By_Value (HC_KEY key, const char *type, int count, int *offsets, HC_POINT *rgb) |
void MShow_Vertex_Colors_By_Value | ( | HC_KEY | key, | |
const char * | type, | |||
int | offset, | |||
int | pcount, | |||
HC_POINT * | rgb | |||
) |
Returns vertex color settings from a vertex, edge, or face without having to open the vertex.
key | - Key to the piece of geometry to query. | |
type | - Type of geometry referred to by key. This can be either "vertex", "edge", or "face" | |
offset | - Index of the key's point array on which to start querying values. | |
pcount | - Number of points from offset to query. | |
rgb | - Array of (r, g, b) triplets. Passed by reference. Returned to user. |
MShow_Specific_Vertex_Colors_By_Value | ( | HC_KEY | key, | |
const char * | type, | |||
int | count, | |||
int * | offsets, | |||
HC_POINT * | rgb | |||
) |
Shows the color of a set of vertices at once.
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. | |
rgb | - Array of (r, g, b) triplets. Passed by reference. Returned to user. |