Microsoft SDK for Java

createFaceArray

This method of the Direct3dRMMeshBuilder Class creates a face array for the Direct3dRMMeshBuilder object.

Syntax

public Direct3dRMFaceArray createFaceArray(int vCount, float[] vertices, int nCount, float[] normals, int[] cones);

Return Value

Returns the Direct3dRMFaceArray object if successful; otherwise, null

Parameters

vCount The number of vertices. This is one-third the size of the float array.
vertices the array variable that contains the vertices used to create the face array.
nCount the number of normals. This is one-third the size of the float array.
normals The array variable that contains the normals used to create the face array.
cones The array variable that contains the data associated with the face array.

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