Q3Triangle_GetVertexAttributeSet
You can use theQ3Triangle_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
TheQ3Triangle_GetVertexAttributeSet
function returns, in theattributeSet
parameter, the set of attributes for the vertex having the index specified by theindex
parameter in thevertices
array of the triangle specified by thetriangle
parameter. The reference count of the set is incremented.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help