QBackendNode#

The base class for all Qt3D backend nodes. More

Synopsis#

Functions#

Virtual functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.Qt3DCore.Qt3DCore.QBackendNode([mode=Qt3DCore.QBackendNode.Mode.ReadOnly])#
Parameters:

modeMode

PySide6.Qt3DCore.Qt3DCore.QBackendNode.Mode#

The mode for the backend node.

Constant

Description

Qt3DCore.QBackendNode.ReadOnly

Qt3DCore.QBackendNode.ReadWrite

PySide6.Qt3DCore.Qt3DCore.QBackendNode.isEnabled()#
Return type:

bool

Returns true if the backend node is enabled.

PySide6.Qt3DCore.Qt3DCore.QBackendNode.mode()#
Return type:

Mode

Returns the mode of the backend mode.

PySide6.Qt3DCore.Qt3DCore.QBackendNode.peerId()#
Return type:

PySide6.Qt3DCore.Qt3DCore.QNodeId

Returns the peer id of the backend node.

PySide6.Qt3DCore.Qt3DCore.QBackendNode.setEnabled(enabled)#
Parameters:

enabled – bool

Enables or disables the backend node by enabled.

See also

isEnabled()

PySide6.Qt3DCore.Qt3DCore.QBackendNode.syncFromFrontEnd(frontEnd, firstTime)#
Parameters:

QBackendNode::syncFromFrontEnd frontEnd firstTime

This is called by the aspect when a frontEnd node needs to synchronize it’s changes with the backend (normally due to property changes).

firstTime will be true if the backend node was just created