Viewport QML Type
Qt3D 씬의 뷰포트. 더 보기...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QViewport |
| Inherits: | |
| Status: | Deprecated |
이 유형은 더 이상 권장되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것을 강력히 권장합니다.
속성
- gamma : real
- normalizedRect : rect
상세 설명
씬의 뷰포트는 Qt3D가 렌더링 표면의 어느 부분에 렌더링을 수행할지 지정합니다. 뷰포트 외부의 영역은 변경되지 않습니다. 또한 뷰포트 내 렌더링에 적용되는 감마와 같은 전역 매개변수도 제어합니다.
속성 설명
gamma : real
뷰포트의 감마 계수를 지정합니다. 기본값은 2.2이며, 대부분의 화면에서 적절한 결과를 보여줍니다.
normalizedRect : rect
뷰포트의 정규화된 사각형을 지정합니다. 즉, 뷰포트 사각형은 렌더링 표면 크기를 기준으로 상대적으로 지정됩니다. 표면 전체 크기를 차지하는 뷰포트는 [0.0, 0.0, 1.0, 1.0]으로 지정되며, 이것이 기본값입니다.
© 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.