Q3Triangle_GetVertexAttributeSet
You can use theQ3Triangle_GetVertexAttributeSetfunction 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
verticesarray 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_GetVertexAttributeSetfunction returns, in theattributeSetparameter, the set of attributes for the vertex having the index specified by theindexparameter in theverticesarray of the triangle specified by thetriangleparameter. The reference count of the set is incremented.