UxrPointerEventData Class
Event data class that adds information required by UxrPointerInputModule to facilitate the processing of UI interaction events.
Inheritance Hierarchy
System.Object
AbstractEventData
BaseEventData
PointerEventData
UltimateXR.UI.UnityInputModule.UxrPointerEventData
Namespace: UltimateXR.UI.UnityInputModule
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public class UxrPointerEventData : PointerEventData
The UxrPointerEventData type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | UxrPointerEventData(EventSystem, UxrFingerTip) | Constructor. |
![]() | UxrPointerEventData(EventSystem, UxrLaserPointer) | Constructor. |
Properties
Name | Description | |
---|---|---|
![]() | Avatar | Gets the UxrAvatar responsible for the interaction. |
![]() | FingerTip | Gets the finger tip if this event is being processed by one. Null if not. |
![]() | GameObject2D | Gets the gameObject if the raycast element is an object with a 2D collider. |
![]() | GameObject3D | Gets the gameObject if the raycast element is an object with a 3D collider. |
![]() | GameObjectClicked | Gets the GameObject that was clicked, if there was one. |
![]() | HandSide | Gets the hand responsible for the interaction. |
![]() | HasData | Gets whether the event data contains valid information. |
![]() | IgnoredGameObject | Gets the UI gameObject that was ignored because it could not be interacted with. |
![]() | IsInteractive | Gets whether the current raycast UI element is interactive. |
![]() | IsNonUI | Gets whether the current raycast UI element is not a UI GameObject. This happens when the raycast is valid and the object has either a 2D or 3D collider. |
![]() | LaserPointer | Gets the laser pointer if this event is being processed by one. Null if not. |
![]() | PressedThisFrame | Gets whether the pointer is pressing this frame. |
![]() | PreviousWorldPos | Gets the pointer world position during the last frame. |
![]() | ReleasedThisFrame | Gets whether the pointer is pressing this frame. |
![]() | Speed | Gets the current cursor speed. |
![]() | WorldPos | Gets the current pointer world position. |
![]() | WorldPosInitialized | Gets whether the world position has been initialized. |
Extension Methods
Name | Description | |
---|---|---|
![]() | ThrowIfNull | Throws an exception if the object is null. (Defined by ObjectExt.) |