public class LWJGLOpenVRTrackedController extends java.lang.Object implements VRTrackedController
| Constructor and Description | 
|---|
LWJGLOpenVRTrackedController(int controllerIndex,
                            VRInputAPI hardware,
                            java.lang.String name,
                            java.lang.String manufacturer,
                            VREnvironment environment)
Wrap a new VR tracked controller on an OpenVR system. 
 | 
| 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 LWJGLOpenVRTrackedController(int controllerIndex,
                                    VRInputAPI hardware,
                                    java.lang.String name,
                                    java.lang.String manufacturer,
                                    VREnvironment environment)
controllerIndex - the index of the controller within the underlying VR system.hardware - the underlying VR system.name - the name of the controller.manufacturer - the manufacturer of the controller.environment - the VR environment.public Vector3f getPosition()
VRTrackedControllerpose.getPosition in interface VRTrackedControllerVRTrackedController.getOrientation(), 
VRTrackedController.getPose()public Quaternion getOrientation()
VRTrackedControllerpose.getOrientation in interface VRTrackedControllerVRTrackedController.getPosition(), 
VRTrackedController.getPose()public Matrix4f getPose()
VRTrackedControllerposition and the orientation of the device.getPose in interface VRTrackedControllerVRTrackedController.getPosition(), 
VRTrackedController.getOrientation()public java.lang.String getControllerName()
VRTrackedControllergetControllerName in interface VRTrackedControllerpublic java.lang.String getControllerManufacturer()
VRTrackedControllergetControllerManufacturer in interface VRTrackedController