QSceneChange Class
class Qt3DCore::QSceneChangeThe base class for changes that can be sent and received by Qt3D's change notification system. More...
Header: | #include <Qt3DCore/QSceneChange> |
qmake: | QT += 3dcore |
Inherited By: | Qt3DCore::QComponentAddedChange, Qt3DCore::QComponentRemovedChange, Qt3DCore::QNodeCommand, Qt3DCore::QNodeCreatedChangeBase, Qt3DCore::QNodeDestroyedChange, Qt3DCore::QPropertyUpdatedChangeBase, Qt3DCore::QPropertyValueAddedChangeBase, and Qt3DCore::QPropertyValueRemovedChangeBase |
Public Types
enum | DeliveryFlag { BackendNodes, Nodes, DeliverToAll } |
flags | DeliveryFlags |
Public Functions
Qt3DCore::QSceneChange::DeliveryFlags | deliveryFlags() const |
void | setDeliveryFlags(Qt3DCore::QSceneChange::DeliveryFlags flags) |
Qt3DCore::QNodeId | subjectId() const |
Qt3DCore::ChangeFlag | type() const |
Protected Functions
QSceneChange(Qt3DCore::ChangeFlag type, Qt3DCore::QNodeId subjectId) |
Related Non-Members
typedef | QSceneChangePtr |
Member Type Documentation
enum QSceneChange::DeliveryFlag
flags QSceneChange::DeliveryFlags
The types of change that can be sent and received by Qt3D's change notification system.
Constant | Value |
---|---|
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.
Member Function Documentation
[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.
See also setDeliveryFlags().
void QSceneChange::setDeliveryFlags(Qt3DCore::QSceneChange::DeliveryFlags flags)
Sets the delivery flags of the change to flags.
See also deliveryFlags().
Qt3DCore::QNodeId QSceneChange::subjectId() const
Returns scene change subject id.
Qt3DCore::ChangeFlag QSceneChange::type() const
Returns the scene change type.
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.