The QNodeCommand class is the base class for all CommandRequested QSceneChange events. More...
Header: | #include <Qt3DCore/QNodeCommand> |
qmake: | QT += 3dcore |
Since: | Qt 5.10 |
Inherits: | Qt3DCore::QSceneChange |
This class was introduced in Qt 5.10.
typedef | CommandId |
QNodeCommand(Qt3DCore::QNodeId id) | |
Qt3DCore::QNodeCommand::CommandId | commandId() const |
QVariant | data() const |
Qt3DCore::QNodeCommand::CommandId | inReplyTo() const |
QString | name() const |
void | setData(const QVariant &data) |
void | setName(const QString &name) |
void | setReplyToCommandId(Qt3DCore::QNodeCommand::CommandId id) |
typedef | QNodeCommandPtr |
The QNodeCommand class is the base class for all QSceneChange events that have the changeType() CommandRequested.
You can subclass this to create your own node update types for communication between your QNode and QBackendNode subclasses when writing your own aspects.
Type of the command id, defined either as quint64 or quint32 depending on the platform support.
Constructs a new QNodeCommand with id.
Returns commandId.
Returns data.
See also setData().
Returns the id of the original QNodeCommand message that was sent to the backend.
Returns name.
See also setName().
Sets the data (data) in the backend node to perform the operations requested.
See also data().
Sets the data (name) in the backend node to perform the operations requested.
See also name().
Sets the command id to which the message is a reply.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qt3dcore-qnodecommand.html