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 QEntity *entity, const QComponent *component) | |
~QComponentAddedChange() | |
QNodeId | componentId() const |
const QMetaObject * | componentMetaObject() const |
QNodeId | entityId() const |
- 4 个公有函数继承自 Qt3DCore::QSceneChange
相关非成员
typedef | QComponentAddedChangePtr |
详细描述
The QComponentAddedChange class is used to notify when a component is added to an entity
成员函数
QComponentAddedChange::QComponentAddedChange(const QEntity *entity, const QComponent *component)
Constructs a new QComponentAddedChange with with entity and component.
QComponentAddedChange::~QComponentAddedChange()
Destroys the instance of QComponentAddedChange.
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.