ICharacterView::TransformVertices

Transforms a list of vertices from a mesh into screen space.

   

HRESULT TransformVertices( IMesh* pmesh, vertexScreen* pscreenVerts, long startVertex, long numVerts, long* pnumDone );

Parameters

pmesh
[in] Pointer to the mesh containing the vertices to be transformed.
pscreenVerts
[in,out,size_is(numVerts)] Pointer to a buffer to receive the transformed vertices.
startVertex
[in] Index of the first vertex to transform.
numVerts
[in] Number of vertices to be transformed.
pnumDone
[out] Pointer to the actual number of vertices transformed.

Return Values

Remarks

BeginTransform must be called prior to making calls to this function.

See Also

IMesh, vertexScreen

Copyright © 2004-2010 Fragmosoft