Qt3DRender::QFilterKey Class
class Qt3DRender::QFilterKeyLa classe QFilterKey consente di memorizzare le chiavi di filtro e i relativi valori. Per saperne di più...
| Intestazione: | #include <qfilterkey.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| In QML: | FilterKey |
| Eredita da: | Qt3DCore::QNode |
| Stato: | Obsoleto |
Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel nuovo codice.
Proprietà
Funzioni pubbliche
Slot pubblici
Segnali
| void | nameChanged(const QString &name) |
| void | valueChanged(const QVariant &value) |
Descrizione dettagliata
I filtri chiave vengono utilizzati da QTechnique e QRenderPass per specificare in quale fase del rendering viene utilizzata la tecnica o il passaggio di rendering.
Nota: il nodoQFilterKey non può essere disabilitato.
Documentazione delle proprietà
name : QString
Contiene il nome della chiave del filtro.
Funzioni di accesso:
| QString | name() const |
| void | setName(const QString &customType) |
Segnale di notifica:
| void | nameChanged(const QString &name) |
value : QVariant
Contiene il valore della chiave del filtro.
Funzioni di accesso:
| QVariant | value() const |
| void | setValue(const QVariant &value) |
Segnale di notifica:
| 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.