Qt3DCore 名称空间

包含用于 Qt 3D 模拟框架的基础类,及提供使用 Qt 3D 框架进行渲染的能力类。 更多...

头: #include <Qt3DCore>
CMake: find_package(Qt6 COMPONENTS 3dcore REQUIRED)
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
class QBoundingVolume
class QBuffer
class QComponent
class QCoreSettings
class QEntity
class QGeometry
class QGeometryView
class QJoint
class QNode
class QNodeId
class QSkeleton
class QSkeletonLoader
class QTransform

类型

  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 )

详细描述

名称空间

namespace Qt3DCore:: Quick

class QAbstractAspect

QAbstractAspect is the base class for aspects that provide a vertical slice of behavior. 更多...

class QAbstractFunctor

QAbstractFunctor is an abstract base class for all functors. 更多...

class QAbstractSkeleton

A skeleton contains the joints for a skinned mesh. 更多...

class QArmature

Used to calculate skinning transform matrices and set them on shaders. 更多...

class QAspectEngine

Responsible for handling all the QAbstractAspect subclasses that have been registered with the scene. 更多...

class QAspectJob

The base class for jobs executed in an aspect. 更多...

class QAttribute

Defines an attribute and how data should be read from a QBuffer . 更多...

class QBackendNode

The base class for all Qt3D backend nodes. 更多...

class QBackendNodeMapper

创建后端节点并映射到它们各自的前端节点。 更多...

class QBoundingVolume

can be used to override the bounding volume of an entity. 更多...

class QBuffer

Provides a data store for raw data to later be used as vertices or uniforms. 更多...

class QComponent

The base class of scene nodes that can be aggregated by Qt3DCore::QEntity instances as a component. 更多...

class QCoreSettings

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

class QEntity

Qt3DCore::QEntity Qt3DCore::QNode subclass that can aggregate several Qt3DCore::QComponent instances that will specify its behavior. 更多...

class QGeometry

Encapsulates geometry. 更多...

class QGeometryView

Encapsulates geometry details. 更多...

class QJoint

Used to transforms parts of skinned meshes. 更多...

class QNode

QNode is the base class of all Qt3D node classes used to build a Qt3D scene. 更多...

class QNodeId

唯一标识 QNode . 更多...

class QSkeleton

Holds the data for a skeleton to be used with skinned meshes. 更多...

class QSkeletonLoader

Used to load a skeleton of joints from file. 更多...

class QTransform

Used to perform transforms on meshes. 更多...

类型文档编制

QAspectJobPtr

共享指针为 QAspectJob .

QBackendNodeMapperPtr

共享指针为 QBackendNodeMapper .

QBufferPtr

[alias] QComponentVector

List of QComponent pointers.

QEntityPtr

共享指针为 QEntity .

[alias] QNodeIdVector

A vector of QNodeId

[alias] QNodePtr

共享指针为 QNode .

[alias] QNodeVector

List of QNode pointers.

函数文档编制

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

Returns a pointer to the type id of the functor.

size_t qHash ( Qt3DCore::QNodeId id , size_t seed = 0)

Returns hash of node with id 和可选 seed .

Qt3DCore::QNodeId qIdForNode ( Qt3DCore::QNode * node )

Returns node id for node .

template <typename T> Qt3DCore::QNodeIdVector qIdsForNodes (const T & nodes )

Returns vector of node ids for nodes .

QDebug Qt3DCore:: operator<< ( QDebug d , Qt3DCore::QNodeId id )

<< with d and id 。返回 QDebug .