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