HC_MSet_Vertex_Parameters
-
void
HC_MSet_Vertex_Parameters(Key key, int offset, int pcount, int number, float const parameters[]) - void HC_MSet_Vertex_Parameters(Key key, int offset, int pcount, int number, float const parameters)
Speedily sets the drawing attributes on a large number of shell, mesh, or polycylinder vertices.
The “normal” mode of setting an attribute value on a single shell or mesh vertex is to open the geometry, open the vertex, set the attribute, close the vertex, open the next vertex, set the next attribute, close the vertex, etc. This can be tedious if a large number of vertices need to be set up. The “MSet Vertex” (“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().
offset: Number of the point in the surface definition at which to start work. “0” is the first offset value.
pcount: The number of vertices to receive texture-coordinates contained in the parameters array.
number: The number of parameters to be set on each vertex of the shell or mesh. Note that number must be consistent for all vertices of the shell or mesh.
parameters: A two dimensional number by pcount array of floating point vertex parameters. Passed by reference always.