The QFilterKey class provides storage for filter keys and their values. 更多...
| 頭: |
#include <QFilterKey>
|
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
|
| qmake: |
QT += 3drender
|
| 在 QML: | FilterKey |
| 繼承: | Qt3DCore::QNode |
| 狀態: | 棄用 |
| QString | name () const |
| QVariant | value () const |
| void | setName (const QString & customType ) |
| void | setValue (const QVariant & value ) |
| void | nameChanged (const QString & name ) |
| void | valueChanged (const QVariant & value ) |
Filter keys are used by QTechnique and QRenderPass to specify at which stage of rendering the technique or the render pass is used.
注意: QFilterKey node can not be disabled.
Holds the name of the filter key.
訪問函數:
| QString | 名稱 () const |
| void | setName (const QString & customType ) |
通知程序信號:
| void | nameChanged (const QString & name ) |
Holds the value of the filter key.
訪問函數:
| QVariant | 值 () const |
| void | setValue (const QVariant & value ) |
通知程序信號:
| void | valueChanged (const QVariant & value ) |