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 (const QComponent * component , const QEntity * entity )
~QComponentRemovedChange ()
QNodeId componentId () const
const QMetaObject * componentMetaObject () const
QNodeId entityId () const
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 )

構造新的 QComponentRemovedChange which will notify entity that component was removed.

QComponentRemovedChange:: QComponentRemovedChange (const QComponent * component , const QEntity * entity )

構造新的 QComponentRemovedChange which will notify component that it was removed from entity

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.

相關非成員

typedef Qt3DCore:: QComponentRemovedChangePtr

共享指針為 QComponentRemovedChange .