Qt3DCore::QBackendNodeMapper Class
class Qt3DCore::QBackendNodeMapper创建后端节点,并将它们映射到各自的前端节点。更多...
| 标题: | #include <Qt3DCore/QBackendNodeMapper> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3DCore) target_link_libraries(mytarget PRIVATE Qt6::3DCore) |
| qmake: | QT += 3dcore |
| 状态: | 已弃用 |
该类已弃用。我们强烈建议不要在新代码中使用它。
公共函数
| virtual Qt3DCore::QBackendNode * | create(Qt3DCore::QNodeId id) const = 0 |
| virtual void | destroy(Qt3DCore::QNodeId id) const = 0 |
| virtual Qt3DCore::QBackendNode * | get(Qt3DCore::QNodeId id) const = 0 |
成员函数文档
[pure virtual] Qt3DCore::QBackendNode *QBackendNodeMapper::create(Qt3DCore::QNodeId id) const
id
返回创建的节点。
[pure virtual] void QBackendNodeMapper::destroy(Qt3DCore::QNodeId id) const
删除指定节点id 的后端节点。
[pure virtual] Qt3DCore::QBackendNode *QBackendNodeMapper::get(Qt3DCore::QNodeId id) const
返回给定节点id 的后端节点。
© 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.