Fudge Core
    Preparing search index...

    Class Picker

    Provides static methods for picking using Render

    Jirka Dell'Oro-Friedl, HFU, 2021

    Index

    Constructors

    Methods

    • Takes a camera and a point on its virtual normed projection plane (distance 1) 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[]

    • Takes a camera and a point on its virtual normed projection plane (distance 1) 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[]

    • 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: readonly Node[]
      • _ray: Ray
      • _min: number
      • _max: number

      Returns Pick[]

    • 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

      • _gizmos: readonly 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[]