Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / ScreenToWorld Method / ScreenToWorld(Point) Method
Mouse cursor position (zero on top)

In This Topic
    ScreenToWorld(Point) Method
    In This Topic
    Maps screen coordinates to world coordinates.
    Syntax
    'Declaration
     
    Public Overloads Function ScreenToWorld( _
       ByVal mousePos As Point _
    ) As Point3D
    public Point3D ScreenToWorld( 
       Point mousePos
    )

    Parameters

    mousePos
    Mouse cursor position (zero on top)

    Return Value

    The associated 3D world point if there is geometry in the point position, null otherwise.
    Remarks
    The depth is read from the depth buffer, so its precision affects accuracy.
    See Also