new SixenseControllerState()
Sixense controller state data.
- Source:
- vr.js, line 1045
Members
-
<readonly> buttons :number
-
A bitmask of
vr.SixenseButton
values indicating which buttons are currently pressed.Type:
- number
- Source:
- vr.js, line 1080
-
<readonly> hand :vr.SixenseHand
-
The hand the controller represents, if it has been set. Make the user place the controllers in the dock to get this value.
Type:
- Source:
- vr.js, line 1096
-
<readonly> isDocked :boolean
-
Whether the controller is docked in the station. Make the user place the controllers in the dock to get this value.
Type:
- boolean
- Source:
- vr.js, line 1088
-
<readonly> isTrackingHemispheres :boolean
-
Whether hemisphere tracking is enabled. Make the user place the controllers in the dock to get this value.
Type:
- boolean
- Source:
- vr.js, line 1104
-
<readonly> joystick :Float32Array
-
Joystick XY.
Type:
- Float32Array
- Source:
- vr.js, line 1065
-
<readonly> position :Float32Array
-
Position XYZ.
Type:
- Float32Array
- Source:
- vr.js, line 1051
-
<readonly> rotation :Float32Array
-
Rotation quaternion.
Type:
- Float32Array
- Source:
- vr.js, line 1058
-
<readonly> trigger :number
-
Trigger press value [0-1].
Type:
- number
- Source:
- vr.js, line 1072