summaryrefslogtreecommitdiffstats
path: root/modules/openxr/extensions/openxr_hand_tracking_extension.h
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2023-10-03 18:41:01 +1100
committerBastiaan Olij <mux213@gmail.com>2023-10-05 13:37:26 +1100
commit50693a54201eeb6abef5702143cc88b8706dee92 (patch)
tree6b4a6f89f2b4c81468da2e003ae90b276ea2d632 /modules/openxr/extensions/openxr_hand_tracking_extension.h
parentbfd78bb917887cfc1fd842ba23570394cad8bedb (diff)
downloadredot-engine-50693a54201eeb6abef5702143cc88b8706dee92.tar.gz
OpenXR - add access to hand joint validity flags
Diffstat (limited to 'modules/openxr/extensions/openxr_hand_tracking_extension.h')
-rw-r--r--modules/openxr/extensions/openxr_hand_tracking_extension.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/openxr/extensions/openxr_hand_tracking_extension.h b/modules/openxr/extensions/openxr_hand_tracking_extension.h
index 5ca0ff60d3..f9b26fd604 100644
--- a/modules/openxr/extensions/openxr_hand_tracking_extension.h
+++ b/modules/openxr/extensions/openxr_hand_tracking_extension.h
@@ -77,10 +77,12 @@ public:
XrHandJointsMotionRangeEXT get_motion_range(HandTrackedHands p_hand) const;
void set_motion_range(HandTrackedHands p_hand, XrHandJointsMotionRangeEXT p_motion_range);
+ XrSpaceLocationFlags get_hand_joint_location_flags(HandTrackedHands p_hand, XrHandJointEXT p_joint) const;
Quaternion get_hand_joint_rotation(HandTrackedHands p_hand, XrHandJointEXT p_joint) const;
Vector3 get_hand_joint_position(HandTrackedHands p_hand, XrHandJointEXT p_joint) const;
float get_hand_joint_radius(HandTrackedHands p_hand, XrHandJointEXT p_joint) const;
+ XrSpaceVelocityFlags get_hand_joint_velocity_flags(HandTrackedHands p_hand, XrHandJointEXT p_joint) const;
Vector3 get_hand_joint_linear_velocity(HandTrackedHands p_hand, XrHandJointEXT p_joint) const;
Vector3 get_hand_joint_angular_velocity(HandTrackedHands p_hand, XrHandJointEXT p_joint) const;