SetUniformValue QML Type

pass の間に設定される値を定義します。詳細...

Import Statement: import QtQuick3D
Inherits:

Command

プロパティ

詳細説明

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

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

BufferInputも参照のこと

プロパティ文書

target : string

pass の間に値が変更されるユニフォームの名前を指定する。これは、Effect の既存のプロパティの名前と一致しなければならない。


value : Variant

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


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