IDirect3DRMMeshBuilder2::AddVertex

Adds a vertex to a Direct3DRMMeshBuilder2 object.

int AddVertex(
D3DVALUE x,
D3DVALUE y,
D3DVALUE z
);

Parameters

x, y, and z

The x, y, and z components of the position of the new vertex.

Return Values

Returns the index of the vertex.