| Modifier and Type | Method and Description
|
|---|
| public static void |
|
| public static boolean |
|
| public static int |
|
| public static int |
|
| public static boolean |
|
| public static boolean |
|
| public static boolean |
|
| public static void |
|
| public static void |
|
| public static native void |
|
| public static void |
|
| public static float |
|
| public static native void |
|
| public static void |
|
| public static int |
|
| public static native void |
|
| public static void |
|
| public static void |
|
| public static native void |
|
| public static void |
|
| public static void |
|
| public static native void |
|
| public static void |
|
| public static void |
|
| public static long |
|
| public static native void |
|
| public static void |
|
| public static int |
|
| public static int |
|
| public static boolean |
|
| public static long |
|
| public static boolean |
|
| public static boolean |
|
| public static void |
|
| public static void |
|
| public static boolean | Returns: true for success. Otherwise, returns false, and distortion coordinates are not suitable. VRSystem_ComputeDistortion(int determines which eye the function should return the distortion value for. One of: eEye, float horizontal texture coordinate for the output pixel within the viewport fU, float vertical texture coordinate for the output pixel within the viewport fV, DistortionCoordinates a struct in which to return the distortion coordinates pDistortionCoordinates)Gets the result of the distortion function for the specified eye and input UVs.
|
| public static int | Returns: the number of bytes needed to hold the list VRSystem_GetAppContainerFilePaths(ByteBuffer pchBuffer)Retrieves a null-terminated, semicolon-delimited list of UTF8 file paths that an application must have read access to when running inside of an app
container.
|
| public static String | Returns: the number of bytes needed to hold the list VRSystem_GetAppContainerFilePaths(int unBufferSize)Retrieves a null-terminated, semicolon-delimited list of UTF8 file paths that an application must have read access to when running inside of an app
container.
|
| public static int | VRSystem_GetArrayTrackedDeviceProperty(int index of the device to get the property for unDeviceIndex, int which property to get prop, int propType, ByteBuffer pBuffer, IntBuffer the error returned when attempting to fetch this property. This can be NULL if the caller doesn't care about the source of a property error. pError)Returns an array of one type of property.
|
| public static boolean | VRSystem_GetBoolTrackedDeviceProperty(int index of the device to get the property for unDeviceIndex, int which property to get prop, IntBuffer the error returned when attempting to fetch this property. This can be NULL if the caller doesn't care about the source of a property error. pError)Returns a bool property.
|
| public static int |
|
| public static boolean | Returns: false if the controller index is invalid VRSystem_GetControllerState(int the tracked device index of the controller to get the state of unControllerDeviceIndex, VRControllerState a struct to fill with the controller state pControllerState, int unControllerStateSize)Fills the supplied struct with the current state of the controller.
|
| public static boolean | Returns: false if the controller index is invalid VRSystem_GetControllerState(int the tracked device index of the controller to get the state of unControllerDeviceIndex, VRControllerState a struct to fill with the controller state pControllerState)Fills the supplied struct with the current state of the controller.
|
| public static boolean | VRSystem_GetControllerStateWithPose(int the tracking coordinate system to return the pose in. One of: eOrigin, int the tracked device index of the controller to get the state of unControllerDeviceIndex, VRControllerState a struct to fill with the controller state pControllerState, int unControllerStateSize, TrackedDevicePose a pose struct to fill with the pose of the controller when the last button event occurred pTrackedDevicePose)Fills the supplied struct with the current state of the controller and the provided pose with the pose of the controller when the controller state was
updated most recently.
|
| public static boolean | VRSystem_GetControllerStateWithPose(int the tracking coordinate system to return the pose in. One of: eOrigin, int the tracked device index of the controller to get the state of unControllerDeviceIndex, VRControllerState a struct to fill with the controller state pControllerState, TrackedDevicePose a pose struct to fill with the pose of the controller when the last button event occurred pTrackedDevicePose)Fills the supplied struct with the current state of the controller and the provided pose with the pose of the controller when the controller state was
updated most recently.
|
| public static int | Returns: -1 if there was an error VRSystem_GetD3D9AdapterIndex()D3D9 Only
Returns the adapter index that the user should pass into CreateDevice to set up D3D9 in such a way that it can go full screen exclusive on the
HMD.
|
| public static void | VRSystem_GetDeviceToAbsoluteTrackingPose(int tracking universe that returned poses should be relative to. One of: eOrigin, float number of seconds from now to predict poses for. Positive numbers are in the future. Pass 0 to get the state at the instant the function is called. fPredictedSecondsToPhotonsFromNow, TrackedDevicePose.Buffer pTrackedDevicePoseArray)The pose that the tracker thinks that the HMD will be in at the specified number of seconds into the future.
|
| public static void | VRSystem_GetDXGIOutputInfo(IntBuffer the index of the adapter to use for this display pnAdapterIndex)D3D10/11 Only
Returns the adapter index that the user should pass into EnumAdapters to create the device and swap chain in DX10 and DX11.
|
| public static HmdMatrix34 |
|
| public static float | VRSystem_GetFloatTrackedDeviceProperty(int index of the device to get the property for unDeviceIndex, int which property to get prop, IntBuffer the error returned when attempting to fetch this property. This can be NULL if the caller doesn't care about the source of a property error. pError)Returns a float property.
|
| public static HiddenAreaMesh |
|
| public static int | VRSystem_GetInt32TrackedDeviceProperty(int index of the device to get the property for unDeviceIndex, int which property to get prop, IntBuffer the error returned when attempting to fetch this property. This can be NULL if the caller doesn't care about the source of a property error. pError)Returns an int property.
|
| public static HmdMatrix34 | VRSystem_GetMatrix34TrackedDeviceProperty(int index of the device to get the property for unDeviceIndex, int which property to get prop, IntBuffer the error returned when attempting to fetch this property. This can be NULL if the caller doesn't care about the source of a property error. pError, HmdMatrix34 __result)Returns a matrix property.
|
| public static void | VRSystem_GetOutputDevice(LongBuffer pnDevice, int textureType, long pInstance)Returns platform- and texture-type specific adapter identification so that applications and the compositor are creating textures and swap chains on the
same GPU.
|
| public static HmdMatrix44 | VRSystem_GetProjectionMatrix(int determines which eye the function should return the projection for. One of: eEye, float distance to the near clip plane in meters fNearZ, float distance to the far clip plane in meters fFarZ, HmdMatrix44 __result)Returns the projection matrix for the specified eye.
|
| public static void | VRSystem_GetProjectionRaw(int determines which eye the function should return the projection for. One of: eEye, FloatBuffer coordinate for the left clipping plane pfLeft, FloatBuffer coordinate for the right clipping plane pfRight, FloatBuffer coordinate for the top clipping plane pfTop, FloatBuffer coordinate for the bottom clipping plane pfBottom)Returns the components necessary to build your own projection matrix in case your application is doing something fancy like infinite Z.
|
| public static HmdMatrix34 |
|
| public static void |
|
| public static String |
|
| public static HmdMatrix34 |
|
| public static int | Returns: the number of devices in the list, or the size of the array needed if not large enough VRSystem_GetSortedTrackedDeviceIndicesOfClass(int eTrackedDeviceClass, IntBuffer punTrackedDeviceIndexArray, int unRelativeToTrackedDeviceIndex)Get a sorted array of device indices of a given class of tracked devices (e.g. controllers).
|
| public static int | VRSystem_GetStringTrackedDeviceProperty(int index of the device to get the property for unDeviceIndex, int which property to get prop, ByteBuffer the buffer to store string properties in. unBufferSize should be the size of this buffer. pchValue, IntBuffer the error returned when attempting to fetch this property. This can be NULL if the caller doesn't care about the source of a property error. pError)Returns a string property.
|
| public static String | VRSystem_GetStringTrackedDeviceProperty(int index of the device to get the property for unDeviceIndex, int which property to get prop, int the size of the buffer pointed to by pchValue unBufferSize, IntBuffer the error returned when attempting to fetch this property. This can be NULL if the caller doesn't care about the source of a property error. pError)Returns a string property.
|
| public static String | VRSystem_GetStringTrackedDeviceProperty(int index of the device to get the property for unDeviceIndex, int which property to get prop, IntBuffer the error returned when attempting to fetch this property. This can be NULL if the caller doesn't care about the source of a property error. pError)Returns a string property.
|
| public static boolean | Returns: if no vsync times are available the function will return zero for vsync time and frame counter and return false from the method VRSystem_GetTimeSinceLastVsync(FloatBuffer fractional number of seconds since the last vsync event. This will never exceed the length of a single frame. pfSecondsSinceLastVsync, LongBuffer the number of frames since vrserver.exe started pulFrameCounter)Returns the number of elapsed seconds since the last recorded vsync event.
|
| public static int |
|
| public static int |
|
| public static int |
|
| public static long | VRSystem_GetUint64TrackedDeviceProperty(int index of the device to get the property for unDeviceIndex, int which property to get prop, IntBuffer the error returned when attempting to fetch this property. This can be NULL if the caller doesn't care about the source of a property error. pError)Returns a uint64 property.
|
| public static boolean | VRSystem_IsDisplayOnDesktop()Use to determine if the headset display is part of the desktop (i.e. extended) or hidden (i.e. direct mode).
|
| public static boolean |
|
| public static boolean |
|
| public static boolean |
|
| public static int |
|
| public static boolean | VRSystem_PollNextEvent(VREvent an event structure to fill with the next event pEvent, int the size in bytes of the VREvent struct uncbVREvent)Returns true and fills the event with the next event on the queue if there is one.
|
| public static boolean | VRSystem_PollNextEvent(VREvent an event structure to fill with the next event pEvent)Returns true and fills the event with the next event on the queue if there is one.
|
| public static boolean | VRSystem_PollNextEventWithPose(int the tracking system to return the event's pose in. One of: eOrigin, VREvent an event structure to fill with the next event pEvent, int the size in bytes of the VREvent struct uncbVREvent, TrackedDevicePose a pose struct to fill with the returned event's pose. Must not be NULL. pTrackedDevicePose)Returns true and fills the event with the next event on the queue if there is one.
|
| public static boolean | VRSystem_PollNextEventWithPose(int the tracking system to return the event's pose in. One of: eOrigin, VREvent an event structure to fill with the next event pEvent, TrackedDevicePose a pose struct to fill with the returned event's pose. Must not be NULL. pTrackedDevicePose)Returns true and fills the event with the next event on the queue if there is one.
|
| public static boolean | Returns: true indicates that the change was successful VRSystem_SetDisplayVisibility(boolean the display visibility bIsVisibleOnDesktop)Sets the display visibility (true = extended, false = direct mode).
|
| public static boolean |
|
| public static boolean |
|
| public static void | VRSystem_TriggerHapticPulse(int the tracked device index of the controller to trigger a haptic pulse on unControllerDeviceIndex, int the ID of the axis to trigger a haptic pulse on unAxisId, short the duration of the desired haptic pulse in microseconds usDurationMicroSec)Trigger a single haptic pulse on a controller.
|