QComponentAddedChange Class

( Qt3DCore::QComponentAddedChange )

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

头: #include <Qt3DCore/QComponentAddedChange>
qmake: QT += 3dcore
继承: Qt3DCore::QSceneChange

公共函数

QComponentAddedChange (const Qt3DCore::QEntity * entity , const Qt3DCore::QComponent * component )
QComponentAddedChange (const Qt3DCore::QComponent * component , const Qt3DCore::QEntity * entity )
virtual ~QComponentAddedChange ()
Qt3DCore::QNodeId componentId () const
const QMetaObject * componentMetaObject () const
Qt3DCore::QNodeId entityId () const
typedef QComponentAddedChangePtr

详细描述

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

成员函数文档编制

QComponentAddedChange:: QComponentAddedChange (const Qt3DCore::QEntity * entity , const Qt3DCore::QComponent * component )

构造新的 QComponentAddedChange which will notify entity that component was added

QComponentAddedChange:: QComponentAddedChange (const Qt3DCore::QComponent * component , const Qt3DCore::QEntity * entity )

构造新的 QComponentAddedChange which will notify component that it was added to entity

[虚拟] QComponentAddedChange:: ~QComponentAddedChange ()

Destroys the instance of QComponentAddedChange. The destructor is virtual.

Qt3DCore::QNodeId QComponentAddedChange:: componentId () const

Returns the id of the component added.

const QMetaObject *QComponentAddedChange:: componentMetaObject () const

Returns the metaobject.

Qt3DCore::QNodeId QComponentAddedChange:: entityId () const

Returns the id of the entity the component was added to.

相关非成员

typedef Qt3DCore:: QComponentAddedChangePtr

共享指针为 QComponentAddedChange .