Microsoft SDK for Java

addVertexAndNormalIndexed

This method of the Direct3dRMFace Class adds a vertex and a normal to a Direct3dRMFace object by using an index for the vertex and an index for the normal in the containing mesh builder. The face, vertex, and normal must already be part of a Direct3dRMMeshBuilder object.

Syntax

public void addVertexAndNormalIndexed(int vertex, int normal);

Parameters

vertex Index of the vertex to add.
normal Index of the normal to add.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.