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

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

Protected Functions

QSceneChange(ChangeFlag type, 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(ChangeFlag type, QNodeId subjectId)

Constructs a new QSceneChange with type and subjectId.

DeliveryFlags QSceneChange::deliveryFlags() const

Returns the set delivery flags.

See also setDeliveryFlags().

void QSceneChange::setDeliveryFlags(DeliveryFlags flags)

Sets the delivery flags of the change to flags.

See also deliveryFlags().

QNodeId QSceneChange::subjectId() const

Returns scene change subject id.

ChangeFlag QSceneChange::type() const

Returns the scene change type.

Related Non-Members

typedef QSceneChangePtr

A shared pointer for QSceneChange.