MUnSet_Face_Colors

Functions

void MUnSet_Face_Colors (HC_KEY key, int offset, int count)
 Removes color settings from a contiguous range of faces. More...
 
void MUnSet_Specific_Face_Colors (HC_KEY key, int count, const int *faces)
 Removes vertex-specific color settings from an arbitrary set of faces. More...
 

Detailed Description

Function Documentation

◆ MUnSet_Face_Colors()

void MUnSet_Face_Colors ( HC_KEY  key,
int  offset,
int  count 
)

Removes color settings from a contiguous range of faces.

Parameters
keyThe unique identifier returned by a previous call to Insert_Mesh(), Insert_Shell(), or Insert_PolyCylinder().
offsetOffset in the face identifier list of the original shell or mesh definition at which to start removing attributes. "0" is the first offset value. This is NOT an index into the face_list of Insert_Shell().
countNumber of points on which to unset color, starting from offset.

DETAILS

No additional details. See MSet_Face_Colors_By_Value() or MSet_Face_Colors_By_FIndex().

See also
Set_Color, Set_Color_By_Value, Set_Color_By_Index, Set_Rendering_Options, Set_Normal, Define_Texture, Open_Face, MSet_Specific_Face_Colors_By_FIndex, MSet_Specific_Face_Colors_By_Value, MUnSet_Specific_Face_Colors

◆ MUnSet_Specific_Face_Colors()

void MUnSet_Specific_Face_Colors ( HC_KEY  key,
int  count,
const int *  faces 
)

Removes vertex-specific color settings from an arbitrary set of faces.

Parameters
keyThe unique identifier returned by a previous call to Insert_Mesh(), Insert_Shell(), or Insert_PolyCylinder().
countNumber of values contained in faces.
facesList of face identifiers from the original shell or mesh definition on which to unset the attribute.

DETAILS

No additional details. See MSet_Specific_Face_Colors_By_Value() or MSet_Specific_Face_Colors_By_FIndex().

See also
Set_Color, Set_Color_By_Value, Set_Color_By_Index, Set_Rendering_Options, Set_Normal, Define_Texture, Open_Face, MSet_Specific_Face_Colors_By_FIndex, MSet_Specific_Face_Colors_By_Value, MUnSet_Face_Colors