Qt3DCore.QNodeCommand¶
The
QNodeCommand
class is the base class for allCommandRequested
QSceneChange
events. More…

New in version 5.10.
Synopsis¶
Detailed Description¶
The
QNodeCommand
class is the base class for allQSceneChange
events that have the changeType()CommandRequested
.You can subclass this to create your own node update types for communication between your
QNode
andQBackendNode
subclasses when writing your own aspects.
-
class
PySide2.Qt3DCore.Qt3DCore.
QNodeCommand
(id)¶ - param id
QNodeId
Constructs a new
QNodeCommand
withid
.
-
PySide2.Qt3DCore.Qt3DCore.QNodeCommand.
commandId
()¶ - Return type
long
Returns .
-
PySide2.Qt3DCore.Qt3DCore.QNodeCommand.
data
()¶ - Return type
object
Returns data.
See also
setData()
-
PySide2.Qt3DCore.Qt3DCore.QNodeCommand.
inReplyTo
()¶ - Return type
long
Returns the id of the original
QNodeCommand
message that was sent to the backend.
-
PySide2.Qt3DCore.Qt3DCore.QNodeCommand.
name
()¶ - Return type
unicode
Returns name.
See also
setName()
-
PySide2.Qt3DCore.Qt3DCore.QNodeCommand.
setData
(data)¶ - Parameters
data – object
Sets the data (
data
) in the backend node to perform the operations requested.See also
data()
-
PySide2.Qt3DCore.Qt3DCore.QNodeCommand.
setName
(name)¶ - Parameters
name – unicode
Sets the data (
name
) in the backend node to perform the operations requested.See also
name()
-
PySide2.Qt3DCore.Qt3DCore.QNodeCommand.
setReplyToCommandId
(id)¶ - Parameters
id – long
Sets the command
id
to which the message is a reply.