IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

SetUniformValue QML Type

Defines a value to be set during a single pass.

This type was introduced in Qt 5.15.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

SetUniformValue QML Type

  • Import Statement: import QtQuick3D

  • Since:: Qt 5.15

  • Inherits:: Command

Detailed Description

SetUniformValue is a Command which can be added to the list of commands in a Pass. When executed, it will set the uniform given by the target property to value.

The value set by this command is will only be set during the pass it occurs in. For consecutive passes the value will be revert to the initial value of the uniform as it was defined in the Effect item.

See Also

See also BufferInput

Property Documentation

 

target : string

Specifies the name of the uniform that will have its value changed during the pass. This must match the name of an existing property in the Effect.

value : Variant

Specifies the value that will be set on the target uniform.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+