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 QEntity * entity , const QComponent * component ) | |
QComponentAddedChange (const QComponent * component , const QEntity * entity ) | |
~QComponentAddedChange () | |
QNodeId | componentId () const |
const QMetaObject * | componentMetaObject () const |
QNodeId | entityId () const |
typedef | QComponentAddedChangePtr |
The QComponentAddedChange class is used to notify when a component is added to an entity
构造新的 QComponentAddedChange which will notify entity that component was added
构造新的 QComponentAddedChange which will notify component that it was added to entity
Destroys the instance of QComponentAddedChange.
Returns the id of the component added.
Returns the metaobject.
Returns the id of the entity the component was added to.
共享指针为 QComponentAddedChange .