HC_MSet_Face_Normals

void HC_MSet_Face_Normals(Key key, int offset, int count, Vector const *normals)
void HC_MSet_Face_Normals(Key key, int offset, int count, Vector const normals)

Speedily sets the drawing attributes on a large number of shell or mesh faces.

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” (“Multi-Set”) routines are provided as a convenience to speed up that process.

This function cannot be used on polycylinders, even though polycylinders can have explicit face normals (but only on their endcaps).

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_Face

Parameters

key: The unique identifier returned by a previous call to Insert_Mesh(), Insert_Shell(), or Insert_PolyCylinder().

offset: Number of the face in the surface definition at which to start work. “0” is the first offset value.

count: The number of normals contained in normals.

normals: Vector of x-y-z normal values. A simple N * x** 3 array may also be used. *Passed by reference always.