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

Synopsis¶
Functions¶
def
componentId
()def
componentMetaObject
()def
entityId
()
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 notifycomponent
that it was added toentity
Constructs a new
QComponentAddedChange
which will notifyentity
thatcomponent
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.