UxrPointerInputModule.FindFirstRaycast Method

Finds the raycast that will be used to find out which UI element the user interacted with.

Namespace: UltimateXR.UI.UnityInputModule
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

protected static RaycastResult FindFirstRaycast(
	List<RaycastResult> candidates,
	UxrPointerEventData pointerEventData
)

Parameters

 

candidates
Type: System.Collections.Generic.List(RaycastResult)
List of candidates, sorted in increasing distance order
pointerEventData
Type: UltimateXR.UI.UnityInputModule.UxrPointerEventData
Pointer data

Return Value

Type: RaycastResult
The raycast that describes the UI element that the user interacted with

See Also

Reference

UxrPointerInputModule Class
UltimateXR.UI.UnityInputModule Namespace