このページでは

SetUniformValue QML Type

pass の1回の実行中に設定される値を定義します。詳細...

Import Statement: import QtQuick3D
Inherits:

Command

プロパティ

詳細な説明

SetUniformValueは、Pass 内のコマンド一覧に追加可能なCommand です。実行されると、target プロパティで指定されたユニフォームをvalue に設定します。

注: このコマンドによって設定される値は 、それが実行されたpass の期間中のみ有効です。連続するパスでは、値はEffect 項目で定義されたユニフォームの初期値に戻ります。

「BufferInput」も参照してください 。

プロパティのドキュメント

target : string

pass の処理中に値が変更されるユニフォームの名前を指定します。これは、Effect 内の既存のプロパティ名と一致している必要があります。

value : Variant

target ユニフォームに設定される値を指定します。

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