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)

<< 与did.返回QDebug.

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