ICharacterView::ScreenToWorld

Converts an array of 2d screen coordinates to 3d world space.

   

HRESULT ScreenToWorld( short pane, vertex2d* pscreenVerts, long numVerts, vertex3d* pworldVerts );

Parameters

pane
[in] Pane in which to perform the conversion.
pscreenVerts
[in,size_is(numVerts)] Screen coordinates to be converted.
numVerts
[in] Number of coordinates to be converted.
pworldVerts
[in,out,size_is(numVerts)] Caller allocated array in which to place the resulting world coordinates.

Return Values

Remarks

Currently not supported in 3d viewports.

See Also

vertex2d, vertex3d

Copyright © 2004-2010 Fragmosoft