1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

OpenXR: Expose more system info from XrSystemProperties

This commit is contained in:
David Snopek
2025-02-14 11:49:25 -06:00
parent b607110ad2
commit d9fbb1affb
2 changed files with 4 additions and 0 deletions

View File

@@ -420,6 +420,8 @@ public:
OpenXRGraphicsExtensionWrapper *get_graphics_extension() const { return graphics_extension; }
String get_runtime_name() const { return runtime_name; }
String get_runtime_version() const { return runtime_version; }
String get_system_name() const { return system_name; }
uint32_t get_vendor_id() const { return vendor_id; }
// helper method to convert an XrPosef to a Transform3D
Transform3D transform_from_pose(const XrPosef &p_pose);