QComponentAddedChange Class
class Qt3DCore::QComponentAddedChangeThe QComponentAddedChange class is used to notify when a component is added to an entity. More...
| Header: | #include <Qt3DCore/QComponentAddedChange> |
| qmake: | QT += 3dcore |
| Inherits: | Qt3DCore::QSceneChange |
Public Functions
| QComponentAddedChange(const QComponent *component, const QEntity *entity) | |
| QComponentAddedChange(const QEntity *entity, const QComponent *component) | |
| QNodeId | componentId() const |
| const QMetaObject * | componentMetaObject() const |
| QNodeId | entityId() const |
Related Non-Members
| typedef | QComponentAddedChangePtr |
Detailed Description
Member Function Documentation
QComponentAddedChange::QComponentAddedChange(const QComponent *component, const QEntity *entity)
Constructs a new QComponentAddedChange which will notify component that it was added to entity
QComponentAddedChange::QComponentAddedChange(const QEntity *entity, const QComponent *component)
Constructs a new QComponentAddedChange which will notify entity that component was added
QNodeId QComponentAddedChange::componentId() const
Returns the id of the component added.
const QMetaObject *QComponentAddedChange::componentMetaObject() const
Returns the metaobject.
QNodeId QComponentAddedChange::entityId() const
Returns the id of the entity the component was added to.