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 |
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 .
Returns the set delivery flags.
另请参阅 setDeliveryFlags ().
Sets the delivery flags of the change to flags .
另请参阅 deliveryFlags ().
Returns scene change subject id.
Returns the scene change type.
共享指针为 QSceneChange .