En esta página

SetUniformValue QML Type

Define un valor que se establecerá durante una sola « pass ». Más información...

Import Statement: import QtQuick3D
Inherits:

Command

Propiedades

Descripción detallada

SetUniformValue es un comando de « Command » que se puede añadir a la lista de comandos de un « Pass ». Cuando se ejecuta, establece el uniforme indicado por la propiedad « target » en « value ».

Nota: El valor establecido por este comando solo se mantendrá durante el « pass » en el que se ejecute. En pasadas consecutivas, el valor volverá a ser el valor inicial del uniforme tal y como se definió en el elemento « Effect ».

Véase también « BufferInput ».

Documentación de propiedades

target : string

Especifica el nombre de la propiedad «uniform» cuyo valor se modificará durante la operación « pass ». Este nombre debe coincidir con el nombre de una propiedad existente en la operación « Effect ».

value : Variant

Especifica el valor que se asignará a la variable 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.