Brief Index      Full Index      I.M. Reference

MShow_Vertex_Colors_By_Value


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)

Function Documentation

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.

Parameters:
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.

DETAILS

NOTES

RESTRICTIONS

See also:
MSet_Vertex_Colors_By_Value, MSet_Vertex_Colors_By_FIndex, MShow_Vertex_Colors_By_FInd, MShow_Face_Colors_By_FIndex, MShow_Face_Colors_By_Value, MShow_Face_Regions, Insert_Shell, Show_Shell, Edit_Shell_Faces, Edit_Shell_Points

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.

Parameters:
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.

DETAILS

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

See also:
Set_Color, Set_Color_By_Value, Set_Color_By_Index, Set_Rendering_Options, Set_Normal, Define_Texture, Open_Vertex, MSet_Vertex_Colors_By_Value, MUnSet_Specific_Vertex_Colors, MUnSet_Vertex_Colors

Main Index
Brief Index      Full Index      I.M. Functions