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.
Ray ray A ray in the direction of the pointer.
InputSource source What input soure 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?

Static Fields and Properties

   
Pose Pose Convenience property that turns ray.position and orientation into a Pose.