Functions | |
void | MSet_Face_Colors_By_FIndex (HC_KEY key, const char *color-type, int offset, int count, const float *findices) |
void | MSet_Specific_Face_Colors_By_FIndex (HC_KEY key, int count, int *faces, const float *findices) |
void MSet_Face_Colors_By_FIndex | ( | HC_KEY | key, | |
const char *color- | type, | |||
int | offset, | |||
int | count, | |||
const float * | findices | |||
) |
Sets the drawing attributes on a contiguous range of shell or mesh faces speedily.
key | The unique identifier returned by a previous call to KInsert_Mesh or KInsert_Shell. | |
types | A list of which geometry types are to be affected. Currently the legal values for this parameter are "faces". In effect this is a dummy parameter. Uppercase versus lowercase is not significant. | |
offset | Offset in the face identifier list of the original shell or mesh definition at which to start work. "0" is the first offset value. This is NOT an index into the face_list of Insert_Shell(). | |
count | The number of vertex colors contained in findices . | |
findices | Vector (1-D array) of floating-index values. Passed by reference always. |
void MSet_Specific_Face_Colors_By_FIndex | ( | HC_KEY | key, | |
int | count, | |||
int * | faces, | |||
const float * | findices | |||
) |
Sets the drawing attributes on an arbitrary set of shell or mesh faces speedily.
key | The unique identifier returned by a previous call to KInsert_Mesh or KInsert_Shell. | |
count | The number of face identifiers in faces. | |
faces | List of face identifiers from the original shell or mesh definition on which to set the attribute. "0" is the first offset value. | |
findices | Vector (1-D array) of floating-index values. Passed by reference always. |