4 Creating and Editing Triangles

4 Q3Triangle_GetVertexAttributeSet

You can use the Q3Triangle_GetVertexAttributeSet function to get the attribute set of a vertex of a triangle.

TQ3Status Q3Triangle_GetVertexAttributeSet (
TQ3GeometryObject triangle, 
unsigned long index, 
TQ3AttributeSet *attributeSet);
triangle A triangle.
index An index into the vertices array of the specified triangle. This parameter should have the value 0, 1, or 2.
attributeSet
On exit, a pointer to a vertex attribute set for the specified vertex.

DESCRIPTION


The Q3Triangle_GetVertexAttributeSet function returns, in the attributeSet parameter, the set of attributes for the vertex having the index specified by the index parameter in the vertices array of the triangle specified by the triangle parameter. The reference count of the set is incremented.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 21 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker