Provides static methods for picking using Render

Authors

Jirka Dell'Oro-Friedl, HFU, 2021

Constructors

Methods

  • Takes a ray plus min and max values for the near and far planes to construct the picker-camera, then renders the pick-texture and returns an unsorted Pick-array with information about the hits of the ray.

    Parameters

    • _nodes: Node[]
    • _ray: Ray
    • _min: number
    • _max: number

    Returns Pick[]

  • Parameters

    • _gizmos: Gizmo[]
    • _ray: Ray
    • _min: number
    • _max: number

    Returns Pick[]

  • Takes the camera of the given viewport and a point the client surface to construct the picker-camera, then renders the pick-texture and returns an unsorted Pick-array with information about the hits of the ray.

    Parameters

    Returns Pick[]