XrRuntimeInfo QML Type
显示有关 XR 运行时的信息。更多...
| Import Statement: | import QtQuick3D.Xr |
| Since: | Qt 6.8 |
| Inherits: | |
| Status: | Technology preview |
此类型处于技术预览阶段,可能会有变动。
属性
- enabledExtensions : list<string>
- graphicsApiName : string
- runtimeName : string
- runtimeVersion : string
详细说明
此类型提供有关 XR 运行时的信息,包括已启用的扩展、运行时名称、版本、图形 API 名称以及是否支持多视图渲染。
注意:此 类型由XrView 自动创建,无法手动创建。
属性文档
enabledExtensions : list<string> [read-only]
已启用的 XR 扩展列表。
该属性保存一个QStringList ,其中包含当前在运行时中已启用的XR扩展的名称。
注意:该 列表可能因运行时实现的不同而有所差异,且可能为空。
graphicsApiName : string [read-only]
XR 运行时所使用的图形 API 的名称。
该属性存储了 XR 运行时所使用的图形 API 的名称(例如,“Vulkan”)。
runtimeName : string [read-only]
XR 运行时的名称。
该属性提供所用 XR 运行时的人类可读名称。
runtimeVersion : string [read-only]
XR 运行时的版本。
该属性存储 XR 运行时的版本字符串(例如,“1.0.0”)。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.