1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

OpenXR: Implement spatial entities extension

This commit is contained in:
Bastiaan Olij
2025-01-21 20:03:16 +11:00
parent 9283328fe7
commit eeac57075c
54 changed files with 7550 additions and 17 deletions

View File

@@ -430,6 +430,7 @@ public:
// helper method to convert an XrPosef to a Transform3D
Transform3D transform_from_pose(const XrPosef &p_pose);
XrPosef pose_from_transform(const Transform3D &p_transform);
// helper method to get a valid Transform3D from an openxr space location
XRPose::TrackingConfidence transform_from_location(const XrSpaceLocation &p_location, Transform3D &r_transform);