
Functions | |
| void | MShow_Specific_Vertex_Colors_By_Value (HC_KEY key, const char *type, int count, const int *offsets, HC_RGB *rgb) |
| Shows the color of a set of vertices at once. More... | |
| void | MShow_Vertex_Colors_By_Value (HC_KEY key, const char *type, int offset, int count, HC_RGB *rgb) |
| Returns vertex color settings from a vertex, edge, or face without having to open the vertex. More... | |
| void MShow_Specific_Vertex_Colors_By_Value | ( | HC_KEY | key, |
| const char * | type, | ||
| int | count, | ||
| const int * | offsets, | ||
| HC_RGB * | rgb | ||
| ) |
Shows the color of a set of vertices at once.
| key | The unique identifier returned by a previous call to Insert_Mesh(), Insert_Shell(), or Insert_PolyCylinder(). |
| type | A list of which color types are to be affected. Currently the legal values for this parameter are "markers", "vertex", "edges", or "faces". Not case-sensitive. |
| 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. |
This function allows the user to modify the colors on a set of arbitrary vertices, as opposed to a range of adjacent vertices.
| void MShow_Vertex_Colors_By_Value | ( | HC_KEY | key, |
| const char * | type, | ||
| int | offset, | ||
| int | count, | ||
| HC_RGB * | 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. |
| count | - Number of points from offset to query. |
| rgb | - Array of (r, g, b) triplets. Passed by reference. Returned to user. |