QQuick3DExtensionHelpers Class

扩展 API 的辅助函数。更多

Header: #include <QQuick3DExtensionHelpers>
Since: Qt 6.6

静态公共成员

QSSGCameraId getCameraId(const QQuick3DObject &camera)
QSSGNodeId getNodeId(const QQuick3DObject &node)
QSSGResourceId getResourceId(const QQuick3DObject &resource)

详细说明

成员函数文档

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

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

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

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

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

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

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