C Specification

The XrBodySkeletonFB structure is a container to represent the body skeleton in T-pose including the joint hierarchy.

// Provided by XR_FB_body_tracking
typedef struct XrBodySkeletonFB {
    XrStructureType           type;
    void*                     next;
    uint32_t                  jointCount;
    XrBodySkeletonJointFB*    joints;
} XrBodySkeletonFB;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.

  • jointCount is an uint32_t describing the count of elements in joints array.

  • joints is an application-allocated array of XrBodySkeletonJointFB that will be filled with skeleton joint elements.

Description

The runtime must return XR_ERROR_VALIDATION_FAILURE if jointCount does not equal to the number of joints defined by the XrBodyJointSetFB used to create the XrBodyTrackerFB.

The runtime must return joints representing the default pose of the current estimation regarding the user’s skeleton.

Valid Usage (Implicit)

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 2014-2024, The Khronos Group Inc.