C Specification

The XrHandGestureQCOM structure is defined as:

// Provided by XR_QCOM_hand_tracking_gesture
typedef struct XrHandGestureQCOM {
    XrHandGestureTypeQCOM    gesture;
    float                    gestureRatio;
    float                    flipRatio;
} XrHandGestureQCOM;

Members

Member Descriptions
  • gesture is the XrHandGestureTypeQCOM detected.

  • gestureRatio is a value between 0 and 1 indicating how much the gesture is applied.

  • flipRatio is a value between -1 and 1 indicating if the hand gesture is detected from the back, from the front, or in between. The value is 1 when the palm is facing the user and is -1 when the palm is directed toward the environment. It represents the normalized dot product between the palm normal and the palm-to-user vector.

Description

XrHandGestureQCOM structure returns the state of the gesture detection.

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-2026 The Khronos Group Inc.