class QBackendNode

The base class for all Qt3D backend nodes. More

Synopsis

Methods

Virtual methods

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 Mode

The mode for the backend node.

Constant

Description

Qt3DCore.QBackendNode.ReadOnly

Qt3DCore.QBackendNode.ReadWrite

__init__([mode=Qt3DCore.QBackendNode.Mode.ReadOnly])
Parameters:

modeMode

isEnabled()
Return type:

bool

Returns true if the backend node is enabled.

mode()
Return type:

Mode

Returns the mode of the backend mode.

peerId()
Return type:

QNodeId

Returns the peer id of the backend node.

setEnabled(enabled)
Parameters:

enabled – bool

Enables or disables the backend node by enabled.

See also

isEnabled()

syncFromFrontEnd(frontEnd, firstTime)
Parameters:
  • frontEndQNode

  • 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