이 페이지에서

SetUniformValue QML Type

단일 pass 동안 설정될 값을 정의합니다. 더 보기...

Import Statement: import QtQuick3D
Inherits:

Command

속성

상세 설명

SetUniformValue는 Pass 내의 명령어 목록에 추가할 수 있는 Command 입니다. 이 명령어가 실행되면 target 속성에 지정된 유니폼 값이 value 로 설정됩니다.

참고: 이 명령으로 설정된값은 해당 명령이 실행되는 pass 동안에만 적용됩니다. 연속적인 패스에서는 값이 Effect 항목에 정의된 유니폼의 초기값으로 되돌아갑니다.

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.