QSceneChange Class

class Qt3DCore::QSceneChange

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

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)
typedef QSceneChangePtr

Detailed Description

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.

ConstantValue
Qt3DCore::QSceneChange::BackendNodes0x0001
Qt3DCore::QSceneChange::Nodes0x0010
Qt3DCore::QSceneChange::DeliverToAllBackendNodes | 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.

Related Non-Members

typedef QSceneChangePtr

A shared pointer for QSceneChange.