Qt3DRender::QFilterKey Class
class Qt3DRender::QFilterKeyA classe QFilterKey permite armazenar chaves de filtro e seus valores. Saiba mais...
| Cabeçalho: | #include <qfilterkey.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| No QML: | FilterKey |
| Herdado de: | Qt3DCore::QNode |
| Status: | Obsoleta |
Esta classe está obsoleta. Recomendamos enfaticamente que não seja utilizada em código novo.
Propriedades
Funções públicas
Slots públicos
Sinais
| void | nameChanged(const QString &name) |
| void | valueChanged(const QVariant &value) |
Descrição detalhada
As chaves de filtro são usadas por QTechnique e QRenderPass para especificar em qual estágio da renderização a técnica ou a passagem de renderização é utilizada.
Observação: o nóQFilterKey não pode ser desativado.
Documentação das propriedades
name : QString
Contém o nome da chave do filtro.
Funções de acesso:
| QString | name() const |
| void | setName(const QString &customType) |
Sinal de notificação:
| void | nameChanged(const QString &name) |
value : QVariant
Contém o valor da chave do filtro.
Funções de acesso:
| QVariant | value() const |
| void | setValue(const QVariant &value) |
Sinal do 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.