QComponentAddedChange

The QComponentAddedChange class is used to notify when a component is added to an entity. More

Synopsis

Functions

Detailed Description

class PySide2.Qt3DCore.QComponentAddedChange(component, entity)

Note

This constructor is deprecated.

PySide2.Qt3DCore.QComponentAddedChange(entity, component)

Note

This constructor is deprecated.

param component

PySide2.Qt3DCore.QComponent

param entity

PySide2.Qt3DCore.QEntity

Constructs a new QComponentAddedChange which will notify component that it was added to entity

Constructs a new QComponentAddedChange which will notify entity that component was added

PySide2.Qt3DCore.QComponentAddedChange.componentId()
Return type

PySide2.Qt3DCore.QNodeId

Returns the id of the component added.

PySide2.Qt3DCore.QComponentAddedChange.componentMetaObject()
Return type

PySide2.QtCore.QMetaObject

Returns the metaobject.

PySide2.Qt3DCore.QComponentAddedChange.entityId()
Return type

PySide2.Qt3DCore.QNodeId

Returns the id of the entity the component was added to.