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

構造新的 QComponentAddedChange which will notify entity that component was added

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

構造新的 QComponentAddedChange which will notify component that it was added to entity

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.

相關非成員

typedef Qt3DCore:: QComponentAddedChangePtr

共享指針為 QComponentAddedChange .