Microsoft SDK for Java

addVertex

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

Syntax

public int addVertex(float x, float y, float z);

Return Value

Returns the index of the vertex.

Parameters

x The x component of the position of the new vertex.
y The y component of the position of the new vertex.
z The z component of the position of the new vertex.

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