内容表

上一话题

Qt3DCore.QComponentAddedChange

下一话题

Qt3DCore.QDynamicPropertyUpdatedChange

Qt3DCore.QComponentRemovedChange

QComponentRemovedChange class is used to notify when a component is removed from an entity. 更多

Inheritance diagram of PySide2.Qt3DCore.Qt3DCore.QComponentRemovedChange

详细描述

class 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.