C Specification
The xrGetBodySkeletonHTC function is defined as:
// Provided by XR_HTC_body_tracking
XrResult xrGetBodySkeletonHTC(
XrBodyTrackerHTC bodyTracker,
XrSpace baseSpace,
uint32_t skeletonGenerationId,
XrBodySkeletonHTC* skeleton);
Parameters
Description
The xrGetBodySkeletonHTC function returns the body skeleton in T-pose.
This function can be used to get body skeleton and infer the skeleton scale
and proportions in conjunction with
XrBodyJointLocationsHTC::skeletonGenerationId.
XrBodyJointLocationsHTC::skeletonGenerationId is generated when
the tracking auto-calibrates the user skeleton scale and proportions.
If the application supplies a skeletonGenerationId that does not match
any value returned in
XrBodyJointLocationsHTC::skeletonGenerationId during the current
session, the runtime must return XR_ERROR_VALIDATION_FAILURE.
See Also
Document Notes
For more information, see the OpenXR Specification
This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.
Copyright
Copyright 2014-2025 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.