Package org.lwjgl.openxr
Class FBHandTrackingMesh
java.lang.Object
org.lwjgl.openxr.FBHandTrackingMesh
The XR_FB_hand_tracking_mesh extension.
The XR_EXT_hand_tracking extension provides a list of hand joint poses but no mechanism to render a skinned hand mesh.
This extension allows:
- An application to get a skinned hand mesh and a bind pose skeleton that can be used to render a hand object driven by the joints from the
XR_EXT_hand_trackingextension. - Control the scale of the hand joints returned by
XR_EXT_hand_tracking.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsXrStructureType.static final intExtendsXrStructureType. -
Method Summary
Modifier and TypeMethodDescriptionstatic intnxrGetHandMeshFB(XrHandTrackerEXT handTracker, long mesh) Unsafe version of:GetHandMeshFBstatic intxrGetHandMeshFB(XrHandTrackerEXT handTracker, XrHandTrackingMeshFB mesh) Create a foveation profile.
-
Field Details
-
XR_FB_hand_tracking_mesh_SPEC_VERSION
public static final int XR_FB_hand_tracking_mesh_SPEC_VERSIONThe extension specification version.- See Also:
-
XR_FB_HAND_TRACKING_MESH_EXTENSION_NAME
The extension name.- See Also:
-
XR_TYPE_HAND_TRACKING_MESH_FB
public static final int XR_TYPE_HAND_TRACKING_MESH_FB- See Also:
-
XR_TYPE_HAND_TRACKING_SCALE_FB
public static final int XR_TYPE_HAND_TRACKING_SCALE_FB- See Also:
-
-
Method Details
-
nxrGetHandMeshFB
Unsafe version of:GetHandMeshFB -
xrGetHandMeshFB
Create a foveation profile.C Specification
The
GetHandMeshFBfunction is defined as:XrResult xrGetHandMeshFB( XrHandTrackerEXT handTracker, XrHandTrackingMeshFB* mesh);Description
The
GetHandMeshFBfunction populates anXrHandTrackingMeshFBstructure with enough information to render a skinned mesh driven by the hand joints. As discussed in the specification for that structure, the data enumerated by this call is constant during the lifetime of anXrInstance.Valid Usage (Implicit)
- The
XR_FB_hand_tracking_meshextension must be enabled prior to callingGetHandMeshFB handTrackermust be a validXrHandTrackerEXThandlemeshmust be a pointer to anXrHandTrackingMeshFBstructure
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
handTracker- theXrHandTrackerEXTthat is associated with a particular hand.mesh- theXrHandTrackingMeshFBoutput structure.
- The
-