Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing Triangles


Q3Triangle_SetVertexAttributeSet

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

TQ3Status Q3Triangle_SetVertexAttributeSet (
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
The desired set of attributes for the specified vertex.
DESCRIPTION
The Q3Triangle_SetVertexAttributeSet function sets the attribute set of the vertex having the index specified by the index parameter in the vertices array of the triangle specified by the triangle parameter to the set specified in the attributeSet parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help