QComponentRemovedChange Class
(Qt3DCore::QComponentRemovedChange)The QComponentRemovedChange class is used to notify when a component is removed from an entity 更多...
头文件: | #include <Qt3DCore/QComponentRemovedChange> |
qmake: | QT += 3dcore |
基类: | Qt3DCore::QSceneChange |
公有函数
QComponentRemovedChange(const QEntity *entity, const QComponent *component) | |
~QComponentRemovedChange() | |
QNodeId | componentId() const |
const QMetaObject * | componentMetaObject() const |
QNodeId | entityId() const |
- 4 个公有函数继承自 Qt3DCore::QSceneChange
相关非成员
typedef | QComponentRemovedChangePtr |
详细描述
The QComponentRemovedChange class is used to notify when a component is removed from an entity
成员函数
QComponentRemovedChange::QComponentRemovedChange(const QEntity *entity, const QComponent *component)
Constructs a new QComponentRemovedChange with entity and component.
QComponentRemovedChange::~QComponentRemovedChange()
Destroys the instance of QComponentRemovedChange.
QNodeId QComponentRemovedChange::componentId() const
Returns the id of the component removed.
const QMetaObject *QComponentRemovedChange::componentMetaObject() const
Returns the metaobject.
QNodeId QComponentRemovedChange::entityId() const
Returns the id of the entity the component was removed from.