在本页

Qt3DCore Namespace

包含作为Qt 3D 仿真框架基础的类,以及提供使用Qt 3D 框架进行渲染的能力的类。更多

Header: #include <Qt3DCore>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3DCore)
target_link_libraries(mytarget PRIVATE Qt6::3DCore)
qmake: QT += 3dcore
状态:已废弃

命名空间

namespace Quick

类

class QAbstractAspect
class QAbstractFunctor
class QAbstractSkeleton
class QArmature
class QAspectEngine
class QAspectJob
class QAttribute
class QBackendNode
class QBackendNodeMapper
(since 6.0) class QBoundingVolume
class QBuffer
class QComponent
(since 6.0) class QCoreSettings
class QEntity
class QGeometry
(since 6.0) class QGeometryView
class QJoint
class QNode
class QNodeId
class QSkeleton
class QSkeletonLoader
class QTransform

类型

函数

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)

详细描述

命名空间

namespace Qt3DCore::Quick

类

类QAbstractAspect

QAbstractAspect 是提供垂直行为片断的各个方面的基类。更多

类QAbstractFunctor

QAbstractFunctor 是所有函数的抽象基类。更多

类QAbstractSkeleton

骨架包含蒙皮网格的关节。更多

类QArmature

用于计算蒙皮变换矩阵并将其设置在着色器上。更多

类QAspectEngine

负责处理所有已在场景中注册的QAbstractAspect 子类。更多

类QAspectJob

在一个方面中执行的作业的基类。更多

类QAttribute

定义属性以及如何从QBuffer 读取数据。更多...

类QBackendNode

所有 Qt3D 后端节点的基类。更多

类QBackendNodeMapper

创建后端节点并将其映射到各自的前端节点。更多

类QBoundingVolume

可用于覆盖实体的边界体积。更多

类QBuffer

为原始数据提供数据存储空间,以便日后用作顶点或制服。更多

类QComponent

场景节点的基类,可通过Qt3DCore::QEntity 实例聚合为一个组件。更多

类QCoreSettings

QCoreSettings 类保存与核心数据处理过程相关的设置。更多

类QEntity

Qt3DCore::QEntity 是一个Qt3DCore::QNode 子类,它可以聚合多个Qt3DCore::QComponent 实例,这些实例将指定其行为。更多

类QGeometry

封装几何体。更多

类QGeometryView

封装几何体细节。更多

类QJoint

用于变换蒙皮网格的部分。更多

类QNode

QNode 是用于构建 Qt3D 场景的所有 Qt3D 节点类的基类。更多

类QNodeId

唯一标识一个QNode 。更多...

类QSkeleton

保存骨骼的数据,以便与蒙皮网格一起使用。更多

类QSkeletonLoader

用于从文件中加载关节骨架。更多

类QTransform

用于对网格执行变换。更多

类型文档

QAspectJobPtr

QAspectJob 的共享指针。

QBackendNodeMapperPtr

QBackendNodeMapper 的共享指针。

QBufferPtr

[alias] QComponentVector

QComponent 指针列表。

QEntityPtr

QEntity 的共享指针。

[alias] QNodeIdVector

QNodeIds 的向量。

[alias] QNodePtr

QNode 的共享指针。

[alias] QNodeVector

QNode 指针列表。

函数文档

template <typename T> qintptr Qt3DCore::functorTypeId()

返回指向函数器类型 ID 的指针。

[constexpr noexcept] size_t qHash(Qt3DCore::QNodeId id, size_t seed = 0)

Returns hash of node withid and optionalseed.

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.