public class OpenVRUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getEColorSpaceString(int eColorSpace)
Get the description of the given
color space. |
static java.lang.String |
getETextureTypeString(int type)
Get the description of the given
texture type. |
static java.lang.String |
getETrackedDevicePropertyString(int property)
Get the description of the given tracked device property.
|
static java.lang.String |
getETrackedPropertyErrorString(int error)
Get the String description of the given
string tracked property error. |
static java.lang.String |
getEVRCompositorErrorString(int error)
Get the description of the given
EVR compositor error. |
static java.lang.String |
getEVRInitErrorString(int error)
Get the description of the given
EVR init error. |
static java.lang.String |
getTrackedDeviceStringProperty(VR_IVRSystem_FnTable system,
int deviceIndex,
int property)
Get the value of the given string
property attached to the given device. |
static java.lang.String |
getTrackedDeviceStringProperty(VR_IVRSystem_FnTable system,
int deviceIndex,
int property,
int bufferSize)
Get the value of the given string
property attached to the given device. |
public static java.lang.String getTrackedDeviceStringProperty(VR_IVRSystem_FnTable system, int deviceIndex, int property, int bufferSize)
property attached to the given device.system - the underlying OpenVR system.deviceIndex - the index of the device to query.property - the property to query.bufferSize - the size of the buffer to use for storing native string.OpenVRInput.getTrackedControllerCount(),
JOpenVRLibrary.ETrackedDeviceProperty,
getTrackedDeviceStringProperty(VR_IVRSystem_FnTable, int, int)public static java.lang.String getTrackedDeviceStringProperty(VR_IVRSystem_FnTable system, int deviceIndex, int property)
property attached to the given device.system - the underlying OpenVR system.deviceIndex - the index of the device to query.property - the property to query.OpenVRInput.getTrackedControllerCount(),
JOpenVRLibrary.ETrackedDeviceProperty,
getTrackedDeviceStringProperty(VR_IVRSystem_FnTable, int, int, int)public static java.lang.String getETrackedPropertyErrorString(int error)
string tracked property error.error - the string tracked property error.public static java.lang.String getEColorSpaceString(int eColorSpace)
color space.eColorSpace - the color space.public static java.lang.String getETextureTypeString(int type)
texture type.type - the texture typepublic static java.lang.String getEVRCompositorErrorString(int error)
EVR compositor error.error - the EVR compositor error.public static java.lang.String getEVRInitErrorString(int error)
EVR init error.error - the EVR init error.public static java.lang.String getETrackedDevicePropertyString(int property)
property - the tracked device property.