本页内容

QQuick3DExtensionHelpers Class

扩展 API 的辅助函数。更多内容...

Header: #include <qquick3dextensionhelpers.h>
Since: Qt 6.6

静态公共成员

QSSGCameraId getCameraId(const QQuick3DObject &camera)
QSSGNodeId getNodeId(const QQuick3DObject &node)
QSSGRenderGraphObject::Type getNodeIdType(QSSGNodeId nodeId)
QSSGResourceId getResourceId(const QQuick3DObject &resource)

详细说明

成员函数文档

[static] QSSGCameraId QQuick3DExtensionHelpers::getCameraId(const QQuick3DObject &camera)

返回一个QSSGCameraId ,可用于从引擎中检索相应的camera 对象。

[static] QSSGNodeId QQuick3DExtensionHelpers::getNodeId(const QQuick3DObject &node)

返回一个QSSGNodeId ,可用于从引擎中检索与node 相对应的对象。

[static] QSSGRenderGraphObject::Type QQuick3DExtensionHelpers::getNodeIdType(QSSGNodeId nodeId)

返回具有给定nodeId 的节点的类型。

此函数可用于确定nodeId 的类型。

[static] QSSGResourceId QQuick3DExtensionHelpers::getResourceId(const QQuick3DObject &resource)

返回一个QSSGResourceId ,可用于在引擎中检索相应的resource 对象。

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