Obsolete Members for Qt3DCore
The following members of class Qt3DCore are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Types
(obsolete) enum | ChangeFlag { NodeCreated, NodeDeleted, PropertyUpdated, PropertyValueAdded, PropertyValueRemoved, …, AllChanges } |
Type Documentation
enum ChangeFlag
flags Qt3DCore::ChangeFlags
This enum is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
The types of change that can be sent and received by Qt3D's change notification system.
Constant | Value | Description |
---|---|---|
Qt3DCore::QSceneChange::NodeCreated | 1 << 0 | A new instance of a QNode subclass has been created. |
Qt3DCore::QSceneChange::NodeDeleted | 1 << 1 | A QNode has been deleted. |
Qt3DCore::QSceneChange::PropertyUpdated | 1 << 2 | A QNode property has been updated. |
Qt3DCore::QSceneChange::PropertyValueAdded | 1 << 3 | A QNode has been added to the scene. |
Qt3DCore::QSceneChange::PropertyValueRemoved | 1 << 4 | A QNode has been removed from the scene. |
Qt3DCore::QSceneChange::CommandRequested | 1 << 7 | A QNodeCommand has been sent between a node and its backend. |
Qt3DCore::QSceneChange::ComponentAdded | 1 << 5 | A QComponent has been added to a QEntity. |
Qt3DCore::QSceneChange::ComponentRemoved | 1 << 6 | A QComponent has been removed from a QEntity. |
Qt3DCore::QSceneChange::CallbackTriggered | 1 << 8 | A QNode triggered a callback. |
Qt3DCore::QSceneChange::AllChanges | 0xFFFFFFFF | Allows an observer to monitor for any of the above changes. |
The ChangeFlags type is a typedef for QFlags<ChangeFlag>. It stores an OR combination of ChangeFlag values.