public class OculusVRInput.OculusController extends java.lang.Object implements VRTrackedController
Constructor and Description |
---|
OculusController(int hand) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getControllerManufacturer()
Get the controller manufacturer.
|
java.lang.String |
getControllerName()
Get the controller name.
|
Quaternion |
getOrientation()
Get the orientation of the tracked device.
|
Matrix4f |
getPose()
Get the pose of the tracked device.
|
Vector3f |
getPosition()
Get the position of the tracked device.
|
public java.lang.String getControllerName()
VRTrackedController
getControllerName
in interface VRTrackedController
public java.lang.String getControllerManufacturer()
VRTrackedController
getControllerManufacturer
in interface VRTrackedController
public Vector3f getPosition()
VRTrackedController
pose
.getPosition
in interface VRTrackedController
VRTrackedController.getOrientation()
,
VRTrackedController.getPose()
public Quaternion getOrientation()
VRTrackedController
pose
.getOrientation
in interface VRTrackedController
VRTrackedController.getPosition()
,
VRTrackedController.getPose()
public Matrix4f getPose()
VRTrackedController
position
and the orientation
of the device.getPose
in interface VRTrackedController
VRTrackedController.getPosition()
,
VRTrackedController.getOrientation()