struct Pointer

Pointer is an abstraction of a number of different input sources, and a way to surface input events!

Instance Fields and Properties

Quat orientation Orientation of the pointer! Since a Ray has no concept of ‘up’, this can be used to retrieve more orientation information.
Pose Pose Convenience property that turns ray.position and orientation into a Pose.
Ray ray A ray in the direction of the pointer.
InputSource source What input source did this pointer come from? This is a bit-flag that contains input family and capability information.
BtnState state What is the state of the input source’s ‘button’, if it has one?
BtnState tracked Is the pointer source being tracked right now?

Found an issue with these docs, or have some additional questions? Create an Issue on Github!