QBackendNode#
The base class for all Qt3D backend nodes. More…
Synopsis#
Functions#
def
isEnabled
()def
mode
()def
peerId
()def
setEnabled
(enabled)
Virtual functions#
def
syncFromFrontEnd
(frontEnd, firstTime)
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:
mode –
Mode
- 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.
Returns the mode of the backend mode.
- PySide6.Qt3DCore.Qt3DCore.QBackendNode.peerId()#
- Return type:
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
- PySide6.Qt3DCore.Qt3DCore.QBackendNode.syncFromFrontEnd(frontEnd, firstTime)#
- Parameters:
frontEnd –
PySide6.Qt3DCore.Qt3DCore.QNode
firstTime – bool
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