Qt3DCore.QComponentAddedChange

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

Inheritance diagram of PySide2.Qt3DCore.Qt3DCore.QComponentAddedChange

Synopsis

Functions

Detailed Description

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

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

param component

QComponent

param entity

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.Qt3DCore.QComponentAddedChange.componentId()
Return type

QNodeId

Returns the id of the component added.

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

QMetaObject

Returns the metaobject.

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

QNodeId

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