En esta página

Qt3DRender::QFilterKey Class

class Qt3DRender::QFilterKey

La clase QFilterKey proporciona almacenamiento para claves de filtro y sus valores. Más...

Cabecera: #include <QFilterKey>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
En QML: FilterKey
Hereda: Qt3DCore::QNode
Status: Obsoleto

Propiedades

Funciones públicas

QString name() const
QVariant value() const

Ranuras públicas

void setName(const QString &customType)
void setValue(const QVariant &value)

Señales

void nameChanged(const QString &name)
void valueChanged(const QVariant &value)

Descripción detallada

Las claves de filtro son utilizadas por QTechnique y QRenderPass para especificar en qué fase del renderizado se utiliza la técnica o el pase de render.

Nota: El nodo QFilterKey no puede ser desactivado.

Documentación de propiedades

name : QString

Contiene el nombre de la tecla de filtro.

Funciones de acceso:

QString name() const
void setName(const QString &customType)

Señal del notificador:

void nameChanged(const QString &name)

value : QVariant

Mantiene el valor de la tecla de filtro.

Funciones de acceso:

QVariant value() const
void setValue(const QVariant &value)

Señal del notificador:

void valueChanged(const QVariant &value)

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