diff --git a/modules/openxr/openxr_api.h b/modules/openxr/openxr_api.h index 7c559f1981..98e856b2eb 100644 --- a/modules/openxr/openxr_api.h +++ b/modules/openxr/openxr_api.h @@ -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); diff --git a/modules/openxr/openxr_interface.cpp b/modules/openxr/openxr_interface.cpp index 7478cdc765..9842dae8d0 100644 --- a/modules/openxr/openxr_interface.cpp +++ b/modules/openxr/openxr_interface.cpp @@ -705,6 +705,8 @@ Dictionary OpenXRInterface::get_system_info() { if (openxr_api) { dict[SNAME("XRRuntimeName")] = openxr_api->get_runtime_name(); dict[SNAME("XRRuntimeVersion")] = openxr_api->get_runtime_version(); + dict[SNAME("OpenXRSystemName")] = openxr_api->get_system_name(); + dict[SNAME("OpenXRVendorID")] = openxr_api->get_vendor_id(); } return dict;