Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / ZBuffer Class / ReadPickBoxZRange Method
The render context
The center of the pick box area in camera screen coordinates (0 on bottom left).
The size in pixels of the pick box
The minimum depth value
The maximum depth value

In This Topic
    ReadPickBoxZRange Method
    In This Topic
    Reads the depth values inside a pick box area and returns the minimum and maximum depths.
    Syntax
    'Declaration
     
    Public Function ReadPickBoxZRange( _
       ByVal renderContext As RenderContextBase, _
       ByVal cameraScreenPos As Point, _
       ByVal pickBoxSizeInPixels As Integer, _
       ByRef min As Double, _
       ByRef max As Double _
    ) As Boolean
    public bool ReadPickBoxZRange( 
       RenderContextBase renderContext,
       Point cameraScreenPos,
       int pickBoxSizeInPixels,
       ref double min,
       ref double max
    )

    Parameters

    renderContext
    The render context
    cameraScreenPos
    The center of the pick box area in camera screen coordinates (0 on bottom left).
    pickBoxSizeInPixels
    The size in pixels of the pick box
    min
    The minimum depth value
    max
    The maximum depth value

    Return Value

    See Also