Qt3DCore.QComponentRemovedChange

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

Inheritance diagram of PySide2.Qt3DCore.Qt3DCore.QComponentRemovedChange

Synopsis

Functions

Detailed Description

class PySide2.Qt3DCore.Qt3DCore.QComponentRemovedChange(component, entity)

PySide2.Qt3DCore.Qt3DCore.QComponentRemovedChange(entity, component)

param component

QComponent

param entity

QEntity

Constructs a new QComponentRemovedChange which will notify component that it was removed from entity

Constructs a new QComponentRemovedChange which will notify entity that component was removed.

PySide2.Qt3DCore.Qt3DCore.QComponentRemovedChange.componentId()
Return type

QNodeId

Returns the id of the component removed.

PySide2.Qt3DCore.Qt3DCore.QComponentRemovedChange.componentMetaObject()
Return type

QMetaObject

Returns the metaobject.

PySide2.Qt3DCore.Qt3DCore.QComponentRemovedChange.entityId()
Return type

QNodeId

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