Eyeshot 9.0 WinForms API Reference
ScreenToWorld(IList<Point>) Method

WinForms Assembly > devDept.Eyeshot Namespace > ViewportLayout Class > ScreenToWorld Method : ScreenToWorld(IList<Point>) Method
2D mouse point list (zero on top)
Maps screen coordinates to world coordinates.
Syntax
'Declaration
 
Public Overloads Function ScreenToWorld( _
   ByVal mousePointList As IList(Of Point) _
) As Point3D()
public Point3D[] ScreenToWorld( 
   IList<Point> mousePointList
)

Parameters

mousePointList
2D mouse point list (zero on top)

Return Value

The associated 3D world point list.
Remarks
Positions that don't have geometry underneath will return null.The depth is read from the depth buffer, so its precision affects accuracy.
See Also

Reference

ViewportLayout Class
ViewportLayout Members
Overload List