QNodeDestroyedChange Class

(Qt3DCore::QNodeDestroyedChange)

Used to notify when a node is destroyed. More...

Header: #include <Qt3DCore/QNodeDestroyedChange>
qmake: QT += 3dcore
Since: Qt 5.7
Inherits: Qt3DCore::QSceneChange

Public Functions

QNodeDestroyedChange(const Qt3DCore::QNode *node, const QVector<Qt3DCore::QNodeIdTypePair> &subtreeIdsAndTypes)
virtual ~QNodeDestroyedChange()
QVector<Qt3DCore::QNodeIdTypePair> subtreeIdsAndTypes() const

Detailed Description

Used to notify when a node is destroyed.

Member Function Documentation

QNodeDestroyedChange::QNodeDestroyedChange(const Qt3DCore::QNode *node, const QVector<Qt3DCore::QNodeIdTypePair> &subtreeIdsAndTypes)

Constructs a new QNodeDestroyedChange with node and its subtreeIdsAndTypes.

[virtual] QNodeDestroyedChange::~QNodeDestroyedChange()

Destroys the instance of QNodeDestroyedChange. The destructor is virtual.

QVector<Qt3DCore::QNodeIdTypePair> QNodeDestroyedChange::subtreeIdsAndTypes() const

Returns a vector of subtree node id type pairs

Related Non-Members

typedef Qt3DCore::QNodeDestroyedChangePtr

A shared pointer for QNodeDestroyedChange.

© 2021 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.