Package org.lwjgl.openxr
Class HTCXViveTrackerInteraction
- java.lang.Object
-
- org.lwjgl.openxr.HTCXViveTrackerInteraction
-
public class HTCXViveTrackerInteraction extends java.lang.ObjectThe HTCX_vive_tracker_interaction extension.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringXR_HTCX_VIVE_TRACKER_INTERACTION_EXTENSION_NAMEThe extension name.static intXR_HTCX_vive_tracker_interaction_SPEC_VERSIONThe extension specification version.static intXR_TYPE_EVENT_DATA_VIVE_TRACKER_CONNECTED_HTCX
XR_TYPE_VIVE_TRACKER_PATHS_HTCXExtendsXrStructureType.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intnxrEnumerateViveTrackerPathsHTCX(org.lwjgl.openxr.XrInstance instance, int pathsCapacityInput, long pathsCountOutput, long viveTrackerPaths)Unsafe version of:EnumerateViveTrackerPathsHTCXstatic intxrEnumerateViveTrackerPathsHTCX(org.lwjgl.openxr.XrInstance instance, java.nio.IntBuffer pathsCountOutput, XrViveTrackerPathsHTCX.Buffer viveTrackerPaths)Enumerates all connected VIVE trackers.
-
-
-
Field Detail
-
XR_HTCX_vive_tracker_interaction_SPEC_VERSION
The extension specification version.
-
XR_HTCX_VIVE_TRACKER_INTERACTION_EXTENSION_NAME
The extension name.
-
XR_TYPE_VIVE_TRACKER_PATHS_HTCX, XR_TYPE_EVENT_DATA_VIVE_TRACKER_CONNECTED_HTCX
ExtendsXrStructureType.Enum values:
-
-
Method Detail
-
nxrEnumerateViveTrackerPathsHTCX
public static int nxrEnumerateViveTrackerPathsHTCX(org.lwjgl.openxr.XrInstance instance, int pathsCapacityInput, long pathsCountOutput, long viveTrackerPaths)Unsafe version of:EnumerateViveTrackerPathsHTCX- Parameters:
pathsCapacityInput- the capacity of theviveTrackerPaths, or 0 to retrieve the required capacity.
-
xrEnumerateViveTrackerPathsHTCX
public static int xrEnumerateViveTrackerPathsHTCX(org.lwjgl.openxr.XrInstance instance, java.nio.IntBuffer pathsCountOutput, @Nullable XrViveTrackerPathsHTCX.Buffer viveTrackerPaths)Enumerates all connected VIVE trackers.C Specification
The
EnumerateViveTrackerPathsHTCXfunction is defined as:XrResult xrEnumerateViveTrackerPathsHTCX( XrInstance instance, uint32_t pathsCapacityInput, uint32_t* pathsCountOutput, XrViveTrackerPathsHTCX* viveTrackerPaths);Description
EnumerateViveTrackerPathsHTCXenumerates all connected VIVE trackers to retrieve their paths under current instance.Valid Usage (Implicit)
- The
XR_HTCX_vive_tracker_interactionextension must be enabled prior to callingEnumerateViveTrackerPathsHTCX instancemust be a validXrInstancehandlepathsCountOutputmust be a pointer to auint32_tvalue- If
pathsCapacityInputis not 0,viveTrackerPathsmust be a pointer to an array ofpathsCapacityInputXrViveTrackerPathsHTCXstructures
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
instance- an instance previously created.pathsCountOutput- a pointer to the count ofXrViveTrackerPathsHTCXviveTrackerPathswritten, or a pointer to the required capacity in the case thatpathsCapacityInputis 0.viveTrackerPaths- a pointer to an array ofXrViveTrackerPathsHTCXVIVE tracker paths, but can beNULLifpathsCapacityInputis 0.
- The
-
-