このページでは

Qt3DRender::QFilterKey Class

class Qt3DRender::QFilterKey

QFilterKey クラスは、フィルタキーとその値を格納するための機能を提供します。詳細...

ヘッダー: #include <qfilterkey.h>
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)

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