En esta página

Qt3DCore::QBackendNode Class

class Qt3DCore::QBackendNode

La clase base para todos los nodos del backend de Qt3D. Más información...

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

Esta clase está obsoleta. Recomendamos encarecidamente no utilizarla en código nuevo.

Tipos públicos

enum Mode { ReadOnly, ReadWrite }

Funciones públicas

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)

Descripción detallada

Documentación sobre el tipo de miembro

enum QBackendNode::Mode

El modo del nodo de backend.

ConstanteValor
Qt3DCore::QBackendNode::ReadOnly0
Qt3DCore::QBackendNode::ReadWrite1

Documentación de funciones de miembro

[noexcept] bool QBackendNode::isEnabled() const

Devuelve « true » si el nodo de backend está habilitado.

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

Devuelve el modo del backend.

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

Devuelve el identificador de par del nodo de backend.

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

Activa o desactiva el nodo de backend mediante enabled.

Véase también isEnabled().

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

QBackendNode::syncFromFrontEnd frontEnd firstTime

El aspecto llama a este método cuando un nodo « frontEnd » necesita sincronizar sus cambios con el backend (normalmente debido a cambios en las propiedades).

firstTime será «true» si el nodo del backend acaba de crearse

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