QComponentRemovedChange Class

(Qt3DCore::QComponentRemovedChange)

The QComponentRemovedChange class is used to notify when a component is removed from an entity More...

Header: #include <QComponentRemovedChange>
qmake: QT += 3dcore
Inherits: Qt3DCore::QSceneChange

Public Functions

QComponentRemovedChange(const QEntity *entity, const QComponent *component)
~QComponentRemovedChange()
QNodeId componentId() const
const QMetaObject *componentMetaObject() const
QNodeId entityId() const

Detailed Description

The QComponentRemovedChange class is used to notify when a component is removed from an entity

Member Function Documentation

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.

Related Non-Members

typedef Qt3DCore::QComponentRemovedChangePtr

A shared pointer for QComponentRemovedChange.

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.