SetUniformValue QML Type
| Import Statement: | import QtQuick3D |
| Inherits: |
属性
详细说明
SetUniformValue 是一个Command ,可添加到Pass 中的命令列表中。执行时,它将把由target 属性指定的uniform设置为value 。
另请参阅 BufferInput 。
属性文档
target : string
指定在pass 期间其值将被更改的uniform的名称。该名称必须与Effect 中现有属性的名称一致。
value : Variant
指定将设置在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.