SetUniformValue QML Type

Defines a value to be set during a single pass . 更多...

import 語句: import QtQuick3D 1.15
Since: Qt 5.15
繼承:

命令

特性

詳細描述

注意: 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.

特性文檔編製

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.