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