In questa pagina

SetUniformValue QML Type

Definisce un valore da impostare durante una singola operazione di " pass". Per saperne di più...

Import Statement: import QtQuick3D
Inherits:

Command

Proprietà

Descrizione dettagliata

SetUniformValue è un'Command e che può essere aggiunta all'elenco dei comandi in un Pass. Una volta eseguita, imposterà l'uniforme specificata dalla proprietà target su value.

Nota: il valore impostato da questo comando rimarrà valido solo durante l'pass in cui viene eseguito. Nei passaggi successivi, il valore tornerà al valore iniziale dell'uniforme, così come definito nella voce Effect.

Vedi anche BufferInput.

Documentazione delle proprietà

target : string

Specifica il nome della proprietà uniforme il cui valore verrà modificato durante l'pass. Questo nome deve corrispondere a quello di una proprietà esistente nell'Effect.

value : Variant

Specifica il valore che verrà assegnato alla variabile uniforme “ 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.