QFilterKey Class

class Qt3DRender::QFilterKey

QFilterKey クラスは、フィルター・キーとその値を保存するためのものです。詳細...

ヘッダ #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)

詳細説明

フィルタキーは、QTechnique およびQRenderPass によって使用され、テクニックまたはレンダーパスがレンダリングのどの段階で使用されるかを指定します。

注意: QFilterKey ノードを無効にすることはできません。

プロパティ ドキュメント

name : QString

フィルターキーの名前を保持します。

アクセス機能:

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

ノーティファイア信号:

void nameChanged(const QString &name)

value : QVariant

フィルターキーの値を保持する。

アクセス機能:

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

通知シグナル:

void valueChanged(const QVariant &value)

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