Qt3DCore 名称空间

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

头: #include <Qt3DCore>
qmake: QT += 3dcore

    名称空间

    namespace Quick

    class QAbstractAspect
    class QAbstractSkeleton
    class QArmature
    class QAspectEngine
    class QAspectJob
    class QBackendNode
    class QBackendNodeMapper
    class QComponent
    class QComponentAddedChange
    class QComponentRemovedChange
    class QDynamicPropertyUpdatedChange
    class QEntity
    class QJoint
    class QNode
    class QNodeCommand
    class QNodeCreatedChange
    class QNodeCreatedChangeBase
    class QNodeDestroyedChange
    class QNodeId
    class QNodeIdTypePair
    class QPropertyNodeAddedChange
    class QPropertyNodeRemovedChange
    class QPropertyUpdatedChange
    class QPropertyUpdatedChangeBase
    class QPropertyValueAddedChange
    class QPropertyValueAddedChangeBase
    class QPropertyValueRemovedChange
    class QPropertyValueRemovedChangeBase
    class QSceneChange
    class QSkeleton
    class QSkeletonLoader
    class QStaticPropertyUpdatedChangeBase
    class QStaticPropertyValueAddedChangeBase
    class QStaticPropertyValueRemovedChangeBase
    class QTransform

    类型

    enum ChangeFlag { NodeCreated, NodeDeleted, PropertyUpdated, PropertyValueAdded, ..., AllChanges }
    flags ChangeFlags
    typedef QAspectJobPtr
    typedef QBackendNodeMapperPtr
    typedef QComponentAddedChangePtr
    typedef QComponentRemovedChangePtr
    typedef QComponentVector
    typedef QDynamicPropertyUpdatedChangePtr
    typedef QEntityPtr
    typedef QNodeCommandPtr
    typedef QNodeCreatedChangeBasePtr
    typedef QNodeDestroyedChangePtr
    typedef QNodeIdVector
    typedef QNodePtr
    typedef QNodeVector
    typedef QPropertyNodeAddedChangePtr
    typedef QPropertyNodeRemovedChangePtr
    typedef QPropertyUpdatedChangeBasePtr
    typedef QPropertyUpdatedChangePtr
    typedef QPropertyValueAddedChangeBasePtr
    typedef QPropertyValueAddedChangePtr
    typedef QPropertyValueRemovedChangeBasePtr
    typedef QPropertyValueRemovedChangePtr
    typedef QSceneChangePtr
    typedef QStaticPropertyUpdatedChangeBasePtr

    函数

    uint qHash (Qt3DCore::QNodeId id , uint seed = ...)
    Qt3DCore::QNodeId qIdForNode (Qt3DCore::QNode * node )
    Qt3DCore::QNodeIdVector qIdsForNodes (const T & nodes )
    const QMetaObject * qt_getEnumMetaObject ( Qt3DCore::QNode::PropertyTrackingMode )
    const QMetaObject * qt_getEnumMetaObject ( Qt3DCore::QSkeletonLoader::Status )
    const char * qt_getEnumName ( Qt3DCore::QNode::PropertyTrackingMode )
    const char * qt_getEnumName ( Qt3DCore::QSkeletonLoader::Status )
    QDebug operator<< (QDebug d , Qt3DCore::QNodeId id )
    QFlags<ChangeFlags::enum_type> operator| (ChangeFlags::enum_type f1 , ChangeFlags::enum_type f2 )
    QFlags<ChangeFlags::enum_type> operator| (ChangeFlags::enum_type f1 , QFlags<ChangeFlags::enum_type> f2 )
    QIncompatibleFlag operator| (ChangeFlags::enum_type f1 , int f2 )
    QFlags<QSceneChange::DeliveryFlags::enum_type> operator| (QSceneChange::DeliveryFlags::enum_type f1 , QSceneChange::DeliveryFlags::enum_type f2 )
    QFlags<QSceneChange::DeliveryFlags::enum_type> operator| (QSceneChange::DeliveryFlags::enum_type f1 , QFlags<QSceneChange::DeliveryFlags::enum_type> f2 )
    QIncompatibleFlag operator| (QSceneChange::DeliveryFlags::enum_type f1 , int f2 )

    详细描述

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

    名称空间

    namespace Qt3DCore:: Quick

    Contains classes used for implementing QML functionality into Qt3D applications.

    class QAbstractAspect

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

    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 QBackendNode

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

    class QBackendNodeMapper

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

    class QComponent

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

    class QComponentAddedChange

    The QComponentAddedChange class is used to notify when a component is added to an entity. 更多...

    class QComponentRemovedChange

    The QComponentRemovedChange class is used to notify when a component is removed from an entity. 更多...

    class QDynamicPropertyUpdatedChange

    The QDynamicPropertyUpdatedChange class is used to notify when a dynamic property value is updated. 更多...

    class QEntity

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

    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 QNodeCommand

    The QNodeCommand class is the base class for all CommandRequested QSceneChange 事件。 更多...

    class QNodeCreatedChange

    Used to notify when a node is created. 更多...

    class QNodeCreatedChangeBase

    The QNodeCreatedChangeBase class is the base class for all NodeCreated QSceneChange 事件。 更多...

    class QNodeDestroyedChange

    Used to notify when a node is destroyed. 更多...

    class QNodeId

    唯一标识 QNode . 更多...

    class QNodeIdTypePair

    class QPropertyNodeAddedChange

    Used to notify when a node is added to a property. 更多...

    class QPropertyNodeRemovedChange

    The QPropertyNodeRemovedChange class is used to notify when a node is removed from a property. 更多...

    class QPropertyUpdatedChange

    The QPropertyUpdatedChange class is used to notify when a property value is updated. 更多...

    class QPropertyUpdatedChangeBase

    The QPropertyUpdatedChangeBase class is the base class for all PropertyUpdated QSceneChange 事件。 更多...

    class QPropertyValueAddedChange

    Used to notify when a value is added to a property. 更多...

    class QPropertyValueAddedChangeBase

    The QPropertyValueAddedChangeBase class is the base class for all PropertyValueAdded QSceneChange 事件。 更多...

    class QPropertyValueRemovedChange

    Used to notify when a value is added to a property. 更多...

    class QPropertyValueRemovedChangeBase

    The QPropertyValueRemovedChangeBase class is the base class for all PropertyValueRemoved QSceneChange 事件。 更多...

    class QSceneChange

    The base class for changes that can be sent and received by Qt3D's change notification system. 更多...

    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 QStaticPropertyUpdatedChangeBase

    The QStaticPropertyUpdatedChangeBase class is the base class for all static PropertyUpdated QSceneChange 事件。 更多...

    class QStaticPropertyValueAddedChangeBase

    The QStaticPropertyValueAddedChangeBase class is the base class for all static PropertyValueAdded QSceneChange 事件。 更多...

    class QStaticPropertyValueRemovedChangeBase

    The QStaticPropertyValueRemovedChangeBase class is the base class for all static PropertyValueRemoved QSceneChange 事件。 更多...

    class QTransform

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

    类型文档编制

    enum Qt3DCore:: ChangeFlag
    flags Qt3DCore:: ChangeFlags

    The types of change that can be sent and received by Qt3D's change notification system.

    常量 描述
    Qt3DCore::NodeCreated 1 << 0 A new instance of a QNode subclass has been created.
    Qt3DCore::NodeDeleted 1 << 1 A QNode has been deleted.
    Qt3DCore::PropertyUpdated 1 << 2 A QNode property has been updated.
    Qt3DCore::PropertyValueAdded 1 << 3 A QNode has been added to the scene.
    Qt3DCore::PropertyValueRemoved 1 << 4 A QNode has been removed from the scene.
    Qt3DCore::CommandRequested 1 << 7 A QNodeCommand has been sent between a node and its backend.
    Qt3DCore::ComponentAdded 1 << 5 A QComponent has been added to a QEntity .
    Qt3DCore::ComponentRemoved 1 << 6 A QComponent has been removed from a QEntity .
    Qt3DCore::CallbackTriggered 1 << 8 A QNode triggered a callback.
    Qt3DCore::AllChanges 0xFFFFFFFF Allows an observer to monitor for any of the above changes.

    ChangeFlags 类型是 typedef 对于 QFlags <ChangeFlag>。它存储 ChangeFlag 值的 OR 组合。

    typedef Qt3DCore:: QAspectJobPtr

    共享指针为 QAspectJob .

    typedef Qt3DCore:: QBackendNodeMapperPtr

    共享指针为 QBackendNodeMapper .

    typedef Qt3DCore:: QComponentAddedChangePtr

    共享指针为 QComponentAddedChange .

    typedef Qt3DCore:: QComponentRemovedChangePtr

    共享指针为 QComponentRemovedChange .

    typedef Qt3DCore:: QComponentVector

    List of QComponent pointers.

    typedef Qt3DCore:: QDynamicPropertyUpdatedChangePtr

    共享指针为 QDynamicPropertyUpdatedChange .

    typedef Qt3DCore:: QEntityPtr

    共享指针为 QEntity .

    typedef Qt3DCore:: QNodeCommandPtr

    共享指针为 QNodeCommand .

    typedef Qt3DCore:: QNodeCreatedChangeBasePtr

    共享指针为 QNodeCreatedChangeBase .

    typedef Qt3DCore:: QNodeDestroyedChangePtr

    共享指针为 QNodeDestroyedChange .

    typedef Qt3DCore:: QNodeIdVector

    A vector of QNodeId s.

    typedef Qt3DCore:: QNodePtr

    共享指针为 QNode .

    typedef Qt3DCore:: QNodeVector

    List of QNode pointers.

    typedef Qt3DCore:: QPropertyNodeAddedChangePtr

    共享指针为 QPropertyNodeAddedChange .

    typedef Qt3DCore:: QPropertyNodeRemovedChangePtr

    共享指针为 QPropertyNodeRemovedChange .

    typedef Qt3DCore:: QPropertyUpdatedChangeBasePtr

    共享指针为 QPropertyUpdatedChangeBase .

    typedef Qt3DCore:: QPropertyUpdatedChangePtr

    共享指针为 QPropertyUpdatedChange .

    typedef Qt3DCore:: QPropertyValueAddedChangeBasePtr

    共享指针为 QPropertyValueAddedChangeBase .

    typedef Qt3DCore:: QPropertyValueAddedChangePtr

    共享指针为 QPropertyValueAddedChange .

    typedef Qt3DCore:: QPropertyValueRemovedChangeBasePtr

    共享指针为 QPropertyValueRemovedChangeBase .

    typedef Qt3DCore:: QPropertyValueRemovedChangePtr

    共享指针为 QPropertyValueRemovedChange .

    typedef Qt3DCore:: QSceneChangePtr

    共享指针为 QSceneChange .

    typedef Qt3DCore:: QStaticPropertyUpdatedChangeBasePtr

    共享指针为 QStaticPropertyUpdatedChangeBase .

    函数文档编制

    uint Qt3DCore:: qHash ( Qt3DCore::QNodeId id , uint seed = ...)

    Returns hash of node with id 和可选 seed .

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

    Returns node id for node .

    Qt3DCore::QNodeIdVector Qt3DCore:: qIdsForNodes (const T & nodes )

    Returns vector of node ids for nodes .

    const QMetaObject *Qt3DCore:: qt_getEnumMetaObject ( Qt3DCore::QNode::PropertyTrackingMode )

    const QMetaObject *Qt3DCore:: qt_getEnumMetaObject ( Qt3DCore::QSkeletonLoader::Status )

    const char *Qt3DCore:: qt_getEnumName ( Qt3DCore::QNode::PropertyTrackingMode )

    const char *Qt3DCore:: qt_getEnumName ( Qt3DCore::QSkeletonLoader::Status )

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

    << with d and id 。返回 QDebug .

    QFlags < ChangeFlags::enum_type > Qt3DCore:: operator| ( ChangeFlags::enum_type f1 , ChangeFlags::enum_type f2 )

    QFlags < ChangeFlags::enum_type > Qt3DCore:: operator| ( ChangeFlags::enum_type f1 , QFlags < ChangeFlags::enum_type > f2 )

    QIncompatibleFlag Qt3DCore:: operator| ( ChangeFlags::enum_type f1 , int f2 )

    QFlags < QSceneChange::DeliveryFlags::enum_type > Qt3DCore:: operator| ( QSceneChange::DeliveryFlags::enum_type f1 , QSceneChange::DeliveryFlags::enum_type f2 )

    QFlags < QSceneChange::DeliveryFlags::enum_type > Qt3DCore:: operator| ( QSceneChange::DeliveryFlags::enum_type f1 , QFlags < QSceneChange::DeliveryFlags::enum_type > f2 )

    QIncompatibleFlag Qt3DCore:: operator| ( QSceneChange::DeliveryFlags::enum_type f1 , int f2 )