Class TrackedDeviceGraphicRaycaster
Namespace: UnityEngine.XR.Interaction.Toolkit.UI
Syntax
public class TrackedDeviceGraphicRaycaster : BaseRaycaster
Properties
eventCamera
Declaration
public override Camera eventCamera { get; }
Property Value
Type | Description |
---|---|
Camera |
Methods
Raycast(PointerEventData, List<RaycastResult>)
Perform a raycast against objects within this Raycaster's domain.
Declaration
public override void Raycast(PointerEventData eventData, List<RaycastResult> resultAppendList)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData | Data containing where and how to raycast. |
List<RaycastResult> | resultAppendList | The resultant hits from the raycast. |