Handles raycasting operations in the Ultra system, enabling picking and interaction with 3D objects in the scene.

Implements

Constructors

Methods

  • Performs a raycast from the camera using normalized screen coordinates. Coordinates must be within [0, 1] for both x and y.

    Parameters

    • position: Vector2

      The normalized screen position for raycasting.

    Returns Promise<UltraRaycastResult>

    Promise resolving to hit test result or undefined if no hit.