IDirect3DRMFace::GetVertex

HRESULT GetVertex(DWORD index, D3DVECTOR *lpPosition,

D3DVECTOR *lpNormal);

Retrieves the position and normal of a vertex in a Direct3DRMFace object.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

index

Index of the vertex.

lpPosition and lpNormal

Addresses of D3DVECTOR structures that will be filled with the position and normal of the vertex, respectively.