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
Constructors -
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:VRTrackedControllerGet the controller name.- Specified by:
getControllerNamein interfaceVRTrackedController- Returns:
- the controller name.
-
getControllerManufacturer
Description copied from interface:VRTrackedControllerGet the controller manufacturer.- Specified by:
getControllerManufacturerin interfaceVRTrackedController- Returns:
- the controller manufacturer.
-
getPosition
Description copied from interface:VRTrackedControllerGet the position of the tracked device. This value is the translation component of the devicepose.- Specified by:
getPositionin interfaceVRTrackedController- Returns:
- the position of the tracked device.
- See Also:
-
getOrientation
Description copied from interface:VRTrackedControllerGet the orientation of the tracked device. This value is the rotation component of the devicepose.- Specified by:
getOrientationin interfaceVRTrackedController- Returns:
- the orientation of the tracked device.
- See Also:
-
getPose
Description copied from interface:VRTrackedControllerGet the pose of the tracked device. The pose is a 4x4 matrix than combine thepositionand theorientationof the device.- Specified by:
getPosein interfaceVRTrackedController- Returns:
- the pose of the tracked device.
- See Also:
-