Qt3DCore 名称空间

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

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

    名称空间

    namespace Quick

    class QAbstractAspect
    class QAspectEngine
    class QAspectJob
    class QBackendNode
    class QBackendNodeMapper
    class QComponent
    class QComponentAddedChange
    class QComponentRemovedChange
    class QDynamicPropertyUpdatedChange
    class QEntity
    class QNode
    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 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 QNodeCreatedChangeBasePtr
    typedef QNodeDestroyedChangePtr
    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 (QNodeId id , uint seed = 0)
    QNodeId qIdForNode (QNode * node )
    QNodeIdVector qIdsForNodes (const T & nodes )
    void unregisterBackendType ()
    QDebug operator<< (QDebug d , QNodeId id )

    详细描述

    包含用于 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 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

    Creates and maps backend nodes to their respective frontend nodes 更多...

    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 QNode

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

    class QNodeCreatedChange

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

    class QNodeCreatedChangeBase

    The QNodeCreatedChangeBase class is the base class for all NodeCreated QSceneChange events 更多...

    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 events 更多...

    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 events 更多...

    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 events 更多...

    class QSceneChange

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

    class QStaticPropertyUpdatedChangeBase

    The QStaticPropertyUpdatedChangeBase class is the base class for all static PropertyUpdated QSceneChange events 更多...

    class QStaticPropertyValueAddedChangeBase

    The QStaticPropertyValueAddedChangeBase class is the base class for all static PropertyValueAdded QSceneChange events 更多...

    class QStaticPropertyValueRemovedChangeBase

    The QStaticPropertyValueRemovedChangeBase class is the base class for all static PropertyValueRemoved QSceneChange events 更多...

    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::ComponentAdded 1<<5 A QComponent has been added to a QEntity .
    Qt3DCore::ComponentRemoved 1<<6 A QComponent has been removed from a QEntity .
    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:: QNodeCreatedChangeBasePtr

    共享指针为 QNodeCreatedChangeBase .

    typedef Qt3DCore:: QNodeDestroyedChangePtr

    共享指针为 QNodeDestroyedChange .

    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 ( QNodeId id , uint seed = 0)

    Returns hash of node with id 和可选 seed .

    QNodeId Qt3DCore:: qIdForNode ( QNode * node )

    Returns node id for node .

    QNodeIdVector Qt3DCore:: qIdsForNodes (const T & nodes )

    Returns vector of node ids for nodes .

    void Qt3DCore:: unregisterBackendType ()

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

    << with d and id 。返回 QDebug .