Microsoft SDK for Java

getVertices

This method of the Direct3dRMMeshBuilder Class retrieves the vertex, normal, and face data for a Direct3dRMMeshBuilder object.

Syntax

public void getVertices(int[] vc, D3dvector v, int[] nc, D3dvector n, int[] fs, int[] fc);

Parameters

vc The array variable that receives the number of vertices.
v A D3dVector object that receives the vertices for the Direct3dRMMeshBuilder object.
nc The array variable that receives the number of normals.
n A D3dVector object that receives the normals for the Direct3dRMMeshBuilder object.
fs The array variable that receives the length of the array associated with the fc parameter.
fc The array variable that receives the face data for the Direct3dRMMeshBuilder object. This data is in the same format as specified in the addFacesToMesh method except that it is null-terminated.

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