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)

Note

This constructor is deprecated.

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

Note

This constructor is deprecated.

param component:

PySide2.Qt3DCore.Qt3DCore.QComponent

param entity:

PySide2.Qt3DCore.Qt3DCore.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:

PySide2.Qt3DCore.Qt3DCore.QNodeId

Returns the id of the component removed.

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

PySide2.QtCore.QMetaObject

Returns the metaobject.

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

PySide2.Qt3DCore.Qt3DCore.QNodeId

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