Package com.jme3.input.vr.oculus
Class OculusVRInput.OculusController
java.lang.Object
com.jme3.input.vr.oculus.OculusVRInput.OculusController
- All Implemented Interfaces:
VRTrackedController
- Enclosing class:
- OculusVRInput
The object form representation of a controller.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the controller manufacturer.Get the controller name.Get the orientation of the tracked device.getPose()
Get the pose of the tracked device.Get the position of the tracked device.
-
Constructor Details
-
OculusController
public OculusController(int hand)
-
-
Method Details
-
getControllerName
Description copied from interface:VRTrackedController
Get the controller name.- Specified by:
getControllerName
in interfaceVRTrackedController
- Returns:
- the controller name.
-
getControllerManufacturer
Description copied from interface:VRTrackedController
Get the controller manufacturer.- Specified by:
getControllerManufacturer
in interfaceVRTrackedController
- Returns:
- the controller manufacturer.
-
getPosition
Description copied from interface:VRTrackedController
Get the position of the tracked device. This value is the translation component of the devicepose
.- Specified by:
getPosition
in interfaceVRTrackedController
- Returns:
- the position of the tracked device.
- See Also:
-
getOrientation
Description copied from interface:VRTrackedController
Get the orientation of the tracked device. This value is the rotation component of the devicepose
.- Specified by:
getOrientation
in interfaceVRTrackedController
- Returns:
- the orientation of the tracked device.
- See Also:
-
getPose
Description copied from interface:VRTrackedController
Get the pose of the tracked device. The pose is a 4x4 matrix than combine theposition
and theorientation
of the device.- Specified by:
getPose
in interfaceVRTrackedController
- Returns:
- the pose of the tracked device.
- See Also:
-