Microsoft SDK for Java

addFacesAsFloats

This method of the Direct3dRMMeshBuilder Class adds a face to the Direct3dRMMeshBuilder object.

Syntax

public void addFacesAsFloats(int vc, float[] ver, int nc, float[] norm, int[] cones);

Parameters

vc Number of vertices. This is one-third the size of the float array.
ver A float array variable that contains the vertices to use to create the face.
nc Number of normals. This is one-third the size of the float array.
norm A float array variable that contains the normals to use to create the face.
cones Array variable that contains the data associated with the face.

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