Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
RRachelRR's avatar
RRachelRR
Honored Guest
2 years ago

What are the attributes of a Pointer Event?

I've been working with the Oculus Quest in Unity for about a month now and am working with different Interactors right now. During that, I have encountered PointerEvents, but I haven't been able to find the corresponding documentation to tell me what attributes a PointerEvent has. Through other scripts and trial and error I did find the type and data attributes which contain the type of the event and the Interactor that triggered it, but to better understand what I can do, I'd like to know if there are any other attributes a PointerEvent contains.

Googling only got me the Unity-GUI-Pointer Events which do not seem to share these attributes, so maybe someone can point me to the class documentation or to a Unity class it is inheriting from (if that is even the case).

Thanks a lot!