HC_MSet_Spec_Face_Col_By_FIndex
-
void
HC_MSet_Spec_Face_Col_By_FIndex(Key key, int count, int const indices[], float const findices[]) - void HC_MSet_Spec_Face_Col_By_FIndex(Key key, int count, int const indices, float const findices)
Sets the drawing attributes on an arbitrary set of shell or mesh faces speedily.
The “normal” mode of setting an attribute value on a single shell or mesh face is to open the geometry, open the face, set the attribute, close the face, open the next face, set the next attribute, close the face, etc. This can be tedious if a large number of faces need to be set up. The “MSet_Face” (“Multi-Set”) routines are provided as a convenience to speed up the process.
HC_Set_Color, HC_Set_Color_By_Value, HC_Set_Color_By_Index, HC_Set_Rendering_Options, HC_Set_Normal, HC_Define_Texture, HC_Open_VertexParameters
key: The unique identifier returned by a previous call to Insert_Mesh or Insert_Shell.
count: The number of face identifiers in faces.
indices: 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.