Class TrackedDeviceEventData
A custom UI event for devices that exist within 3D Unity space, separate from the camera's position.
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit.UI
Assembly: solution.dll
Syntax
public class TrackedDeviceEventData : PointerEventData
Constructors
| Name | Description |
|---|---|
| TrackedDeviceEventData(EventSystem) | Initializes and returns an instance of TrackedDeviceEventData with event system. |
Properties
| Name | Description |
|---|---|
| interactor | (Read Only) The Interactor that triggered this event, or null if no interactor was responsible. |
| layerMask | The physics layer mask to use when checking for hits, both in occlusion and UI objects. |
| rayHitIndex | Set by the ray caster, this is the index of the endpoint within the rayPoints list that received the hit. |
| rayPoints | A series of interconnected points Unity uses to track hovered and selected UI. |