In questa pagina

Qt3DCore::QBackendNode Class

class Qt3DCore::QBackendNode

La classe base per tutti i nodi del backend Qt3D. Per saperne di più...

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

Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel nuovo codice.

Tipi pubblici

enum Mode { ReadOnly, ReadWrite }

Funzioni pubbliche

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)

Descrizione dettagliata

Documentazione sui tipi dei membri

enum QBackendNode::Mode

La modalità del nodo backend.

CostanteValore
Qt3DCore::QBackendNode::ReadOnly0
Qt3DCore::QBackendNode::ReadWrite1

Documentazione delle funzioni membro

[noexcept] bool QBackendNode::isEnabled() const

Restituisce " true " se il nodo backend è abilitato.

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

Restituisce la modalità del backend.

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

Restituisce l'ID del nodo backend.

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

Abilita o disabilita il nodo backend tramite enabled.

Vedi anche isEnabled().

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

QBackendNode::syncFromFrontEnd frontEnd firstTime

Questo metodo viene chiamato dall'aspetto quando un nodo frontEnd deve sincronizzare le proprie modifiche con il backend (di norma a seguito di modifiche alle proprietà).

firstTime sarà vero se il nodo del backend è stato appena creato

© 2026 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.