Qt3DCore Namespace
包含构成Qt 3D 模拟框架基础的类,以及提供使用Qt 3D 框架进行渲染功能的类。更多内容...
| 标题: | #include <Qt3DCore> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3DCore) target_link_libraries(mytarget PRIVATE Qt6::3DCore) |
| qmake: | QT += 3dcore |
| 状态: | 已弃用 |
此命名空间已弃用。我们强烈建议不要在新代码中使用它。
类型
| QAspectJobPtr | |
| QBackendNodeMapperPtr | |
| QBufferPtr | |
| QComponentVector | |
| QEntityPtr | |
| QNodeIdVector | |
| QNodePtr | |
| QNodeVector |
函数
| qintptr | functorTypeId() |
| size_t | qHash(Qt3DCore::QNodeId id, size_t seed = 0) |
| Qt3DCore::QNodeId | qIdForNode(Qt3DCore::QNode *node) |
| Qt3DCore::QNodeIdVector | qIdsForNodes(const T &nodes) |
| QDebug | operator<<(QDebug d, Qt3DCore::QNodeId id) |
类型文档
QAspectJobPtr
QAspectJob 的共享指针。
QBackendNodeMapperPtr
QBackendNodeMapper 的共享指针。
QBufferPtr
[alias] QComponentVector
QComponent 指针列表。
QEntityPtr
QEntity 的共享指针。
[alias] QNodeIdVector
一个由QNodeId组成的向量。
[alias] QNodePtr
QNode 的共享指针。
[alias] QNodeVector
QNode 指针列表。
函数文档
template <typename T> qintptr Qt3DCore::functorTypeId()
返回指向该 functor 类型标识符的指针。
[constexpr noexcept] size_t qHash(Qt3DCore::QNodeId id, size_t seed = 0)
返回包含id 以及可选的seed 的节点哈希。
Qt3DCore::QNodeId qIdForNode(Qt3DCore::QNode *node)
返回node 的节点ID。
template <typename T> Qt3DCore::QNodeIdVector qIdsForNodes(const T &nodes)
返回nodes 的节点ID向量。
QDebug Qt3DCore::operator<<(QDebug d, Qt3DCore::QNodeId id)
<< 使用d 和id 。返回QDebug 。
© 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.