QComponentAddedChangeclass is used to notify when a component is added to an entity. 更多 …
def
componentId
()
def
componentMetaObject
()
def
entityId
()
PySide2.Qt3DCore.Qt3DCore.
QComponentAddedChange
(
component
,
entity
)
¶
注意
This constructor is deprecated.
PySide2.Qt3DCore.Qt3DCore.QComponentAddedChange(entity, component)
注意
This constructor is deprecated.
- param component
QComponent- param entity
QEntity
构造新
QComponentAddedChange
which will notify
component
that it was added to
entity
构造新
QComponentAddedChange
which will notify
entity
that
component
was added
PySide2.Qt3DCore.Qt3DCore.QComponentAddedChange.
componentId
(
)
¶
QNodeId
Returns the id of the component added.
PySide2.Qt3DCore.Qt3DCore.QComponentAddedChange.
componentMetaObject
(
)
¶
QMetaObject
Returns the metaobject.
PySide2.Qt3DCore.Qt3DCore.QComponentAddedChange.
entityId
(
)
¶
QNodeId
Returns the id of the entity the component was added to.