QBackendNode Class

class Qt3DCore::QBackendNode

Die Basisklasse für alle Qt3D-Backend-Knoten. Mehr...

Kopfzeile: #include <Qt3DCore/QBackendNode>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3DCore)
target_link_libraries(mytarget PRIVATE Qt6::3DCore)
qmake: QT += 3dcore
Status: Veraltet

Öffentliche Typen

enum Mode { ReadOnly, ReadWrite }

Öffentliche Funktionen

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)

Detaillierte Beschreibung

Dokumentation der Mitgliedstypen

enum QBackendNode::Mode

Der Modus für den Backend-Knoten.

KonstanteWert
Qt3DCore::QBackendNode::ReadOnly0
Qt3DCore::QBackendNode::ReadWrite1

Dokumentation der Mitgliedsfunktion

[noexcept] bool QBackendNode::isEnabled() const

Gibt true zurück, wenn der Backend-Knoten aktiviert ist.

[noexcept] Qt3DCore::QBackendNode::Mode QBackendNode::mode() const

Gibt den Modus des Backend-Modus zurück.

[noexcept] Qt3DCore::QNodeId QBackendNode::peerId() const

Gibt die Peer-ID des Backend-Knotens zurück.

[noexcept] void QBackendNode::setEnabled(bool enabled)

Aktiviert oder deaktiviert den Backend-Knoten durch enabled.

Siehe auch isEnabled().

[virtual] void QBackendNode::syncFromFrontEnd(const Qt3DCore::QNode *frontEnd, bool firstTime)

QBackendNode::syncFromFrontEnd frontEnd firstTime

Dies wird vom Aspekt aufgerufen, wenn ein frontEnd Knoten seine Änderungen mit dem Backend synchronisieren muss (normalerweise aufgrund von Eigenschaftsänderungen).

firstTime wird true sein, wenn der Backend-Knoten gerade erstellt wurde

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.