AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
HoloToolkit.Unity.EventSystemExtensions Class Reference

Static Public Member Functions

static RaycastResult Raycast (this EventSystem eventSystem, PointerEventData pointerEventData, LayerMask[] layerMasks)
 Executes a raycast all and returns the closest element. Fixes the current issue with Unity's raycast sorting which does not consider separate canvases. More...
 

Detailed Description

Definition at line 10 of file EventSystemExtensions.cs.

Member Function Documentation

§ Raycast()

static RaycastResult HoloToolkit.Unity.EventSystemExtensions.Raycast ( this EventSystem  eventSystem,
PointerEventData  pointerEventData,
LayerMask []  layerMasks 
)
static

Executes a raycast all and returns the closest element. Fixes the current issue with Unity's raycast sorting which does not consider separate canvases.

Returns
RaycastResult if hit, or an empty RaycastResult if nothing was hit

Definition at line 20 of file EventSystemExtensions.cs.


The documentation for this class was generated from the following file: