QComponentAddedChange Class
(Qt3DCore::QComponentAddedChange)The 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 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 |
- 4 public functions inherited from Qt3DCore::QSceneChange
Related Non-Members
typedef | QComponentAddedChangePtr |
Detailed Description
The QComponentAddedChange class is used to notify when a component is added to an entity.
Member Function Documentation
QComponentAddedChange::QComponentAddedChange(const Qt3DCore::QEntity *entity, const Qt3DCore::QComponent *component)
Constructs a new QComponentAddedChange which will notify entity that component was added
QComponentAddedChange::QComponentAddedChange(const Qt3DCore::QComponent *component, const Qt3DCore::QEntity *entity)
Constructs a new QComponentAddedChange which will notify component that it was added to entity
[virtual]
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.
Related Non-Members
typedef Qt3DCore::QComponentAddedChangePtr
A shared pointer for QComponentAddedChange.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qt3dcore-qcomponentaddedchange.html