QSceneChange Class

class Qt3DCore ::QSceneChange

The base class for changes that can be sent and received by Qt3D's change notification system. 更多...

头: #include <Qt3DCore/QSceneChange>
qmake: QT += 3dcore
继承者:

Qt3DCore::QComponentAddedChange , Qt3DCore::QComponentRemovedChange , Qt3DCore::QNodeCommand , Qt3DCore::QNodeCreatedChangeBase , Qt3DCore::QNodeDestroyedChange , Qt3DCore::QPropertyUpdatedChangeBase , Qt3DCore::QPropertyValueAddedChangeBase ,和 Qt3DCore::QPropertyValueRemovedChangeBase

公共类型

enum DeliveryFlag { BackendNodes, Nodes, DeliverToAll }
flags DeliveryFlags

公共函数

Qt3DCore::QSceneChange::DeliveryFlags deliveryFlags () const
void setDeliveryFlags (Qt3DCore::QSceneChange::DeliveryFlags flags )
Qt3DCore::QNodeId subjectId () const
Qt3DCore::ChangeFlag type () const

保护函数

QSceneChange (Qt3DCore::ChangeFlag type , Qt3DCore::QNodeId subjectId )
typedef QSceneChangePtr

详细描述

成员类型文档编制

enum QSceneChange:: DeliveryFlag
flags QSceneChange:: DeliveryFlags

The types of change that can be sent and received by Qt3D's change notification system.

常量
Qt3DCore::QSceneChange::BackendNodes 0x0001
Qt3DCore::QSceneChange::Nodes 0x0010
Qt3DCore::QSceneChange::DeliverToAll BackendNodes | Nodes

The DeliveryFlags type is a typedef for QFlags <DeliveryFlag>. It stores an OR combination of DeliveryFlag values.

成员函数文档编制

[protected] QSceneChange:: QSceneChange ( Qt3DCore::ChangeFlag type , Qt3DCore::QNodeId subjectId )

Constructs a new QSceneChange with type and subjectId .

Qt3DCore::QSceneChange::DeliveryFlags QSceneChange:: deliveryFlags () const

Returns the set delivery flags.

另请参阅 setDeliveryFlags ().

void QSceneChange:: setDeliveryFlags ( Qt3DCore::QSceneChange::DeliveryFlags flags )

Sets the delivery flags of the change to flags .

另请参阅 deliveryFlags ().

Qt3DCore::QNodeId QSceneChange:: subjectId () const

Returns scene change subject id.

Qt3DCore::ChangeFlag QSceneChange:: type () const

Returns the scene change type.

相关非成员

typedef QSceneChangePtr

共享指针为 QSceneChange .