SetUniformValue QML Type

Defines a value to be set during a single pass. More...

Import Statement: import QtQuick3D 1.15
Since: Qt 5.15
Inherits:

Command

Properties

Detailed Description

Note: 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 or custom material item.

Property Documentation

target : string

Specifies the name of the uniform that will have its value changed during the pass.


value : Variant

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


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