XrRuntimeInfo QML Type

显示有关 XR 运行时的信息。更多

Import Statement: import QtQuick3D.Xr
Since: Qt 6.8
Inherits:

Item

Status: Technical Preview

属性

详细描述

该类型提供有关 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")。


© 2025 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.