An input method for pointers, such as the Daydream's remote, a pointer put on an Index controller, Oculus style laser mouse, and your desktop's mouse in flatscreen.
The local space for a pointer is where +Z is along the pointer's direction, +X is to the right of the pointer when laying face up, and +Y is upward when laying face up.
|select||Whether the pointer is attempting to select an object, usually through trigger. 1.0 is selected, 0.0 is not selected, and inbetween is to add smoothness to the interaction.|
|grab||How much the pointer is attempting to grab an object. 0.0 is not grabbing at all, 1.0 is grabbing the strongest, and inbetween is to add smoothness.|
|scroll||The amount to scroll on this input tick (sensitivity determined on the receiving client). Can be used for 2D scrolling as well as adjusting depth/size when grabbing an object.|
|deepestPointDistance||The distance along the ray where the deepest surface point resides.|
|type||The type of pointer. Can be one of |
Sets the direction the pointer is pointing in stage space.
Sets the tilt of the pointer (rotation about the pointer direction) clockwise in radians.
setOrientation(Vector3 direction, float angle)#
Sets the direction and tilt of the pointer to save on IPC calls.
setPose(Vector3 origin, Vector3 direction, float angle)#
Sets the origin, direction, and tilt of the pointer to save on IPC calls.