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 유니폼에 설정할 값을 지정합니다.


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