QNodeCreatedChangeBase Class

(Qt3DCore::QNodeCreatedChangeBase)

The QNodeCreatedChangeBase class is the base class for all NodeCreated QSceneChange events. More...

Header: #include <Qt3DCore/QNodeCreatedChangeBase>
qmake: QT += 3dcore
Inherits: Qt3DCore::QSceneChange
Inherited By:

Qt3DAnimation::QChannelMappingCreatedChangeBase, Qt3DAnimation::QClipBlendNodeCreatedChangeBase, Qt3DCore::QNodeCreatedChange, Qt3DInput::QPhysicalDeviceCreatedChangeBase, and Qt3DRender::QFrameGraphNodeCreatedChangeBase

Public Functions

QNodeCreatedChangeBase(const Qt3DCore::QNode *node)
virtual ~QNodeCreatedChangeBase()
bool isNodeEnabled() const
const QMetaObject * metaObject() const
Qt3DCore::QNodeId parentId() const

Protected Functions

QNodeCreatedChangeBase(Qt3DCore::QNodeCreatedChangeBasePrivate &dd, const Qt3DCore::QNode *node)
typedef QNodeCreatedChangeBasePtr

Detailed Description

The QNodeCreatedChangeBase class is the base class for all NodeCreated QSceneChange events.

The QNodeCreatedChangeBase class is the base class for all QSceneChange events that have the changeType() NodeCreated. You should not need to instantiate this class. Usually you should be using one of its subclasses such as QNodeCreatedChange.

You can subclass this to create your own node update types for communication between your QNode and QBackendNode subclasses when writing your own aspects.

Member Function Documentation

QNodeCreatedChangeBase::QNodeCreatedChangeBase(const Qt3DCore::QNode *node)

Constructs a new QNodeCreatedChangeBase with node.

[protected] QNodeCreatedChangeBase::QNodeCreatedChangeBase(Qt3DCore::QNodeCreatedChangeBasePrivate &dd, const Qt3DCore::QNode *node)

Default constructs an instance of QNodeCreatedChangeBase.

[virtual] QNodeCreatedChangeBase::~QNodeCreatedChangeBase()

Destroys the instance of QNodeCreatedChangeBase. The destructor is virtual.

bool QNodeCreatedChangeBase::isNodeEnabled() const

Returns node enabled.

const QMetaObject *QNodeCreatedChangeBase::metaObject() const

Returns metaobject.

Qt3DCore::QNodeId QNodeCreatedChangeBase::parentId() const

Returns parent id.

Related Non-Members

typedef Qt3DCore::QNodeCreatedChangeBasePtr

A shared pointer for QNodeCreatedChangeBase.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qt3dcore-qnodecreatedchangebase.html