The base class for all Qt3D backend nodes. More...
Header: | #include <Qt3DCore/QBackendNode> |
CMake: | find_package(Qt6 COMPONENTS 3dcore REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::3dcore) |
qmake: | QT += 3dcore |
enum | Mode { ReadOnly, ReadWrite } |
bool | isEnabled() const |
Qt3DCore::QBackendNode::Mode | mode() const |
Qt3DCore::QNodeId | peerId() const |
void | setEnabled(bool enabled) |
virtual void | syncFromFrontEnd(const Qt3DCore::QNode *frontEnd, bool firstTime) |
The mode for the backend node.
Constant | Value |
---|---|
Qt3DCore::QBackendNode::ReadOnly |
0 |
Qt3DCore::QBackendNode::ReadWrite |
1 |
Returns true
if the backend node is enabled.
Returns the mode of the backend mode.
Returns the peer id of the backend node.
Enables or disables the backend node by enabled.
See also isEnabled().
[virtual]
void QBackendNode::syncFromFrontEnd(const Qt3DCore::QNode *frontEnd, bool firstTime)
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
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qt3dcore-qbackendnode.html