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

详细描述

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

成员函数文档编制

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

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

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

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

[virtual] QComponentRemovedChange:: ~QComponentRemovedChange ()

Destroys the instance of QComponentRemovedChange. The destructor is virtual.

Qt3DCore::QNodeId QComponentRemovedChange:: componentId () const

Returns the id of the component removed.

const QMetaObject *QComponentRemovedChange:: componentMetaObject () const

Returns the metaobject.

Qt3DCore::QNodeId QComponentRemovedChange:: entityId () const

Returns the id of the entity the component was removed from.

相关非成员

typedef Qt3DCore:: QComponentRemovedChangePtr

共享指针为 QComponentRemovedChange .