PolygonOffset QML Type
PolygonOffset 유형은 폴리곤 오프셋의 깊이 값을 계산하기 위한 배율과 단계 수를 설정합니다. 더 보기...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QPolygonOffset |
| Inherits: | |
| Status: | Deprecated |
이 유형은 더 이상 사용되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것을 강력히 권장합니다.
속성
- depthSteps : real
- scaleFactor : real
상세 설명
PolygonOffset 유형은 깊이 테스트 및 깊이 기록 전에 프래그먼트 깊이 값에 오프셋을 더합니다. 이 오프셋은 데칼과 같이 깊이 값이 매우 근접한 폴리곤을 렌더링할 때 z-fighting을 방지하는 데 사용할 수 있습니다.
속성 설명
depthSteps : real
일정한 깊이 오프셋을 생성하는 유닛을 포함합니다. 기본값은 0입니다.
scaleFactor : real
각 폴리곤에 대해 가변 깊이 오프셋을 생성하는 데 사용되는 배율을 저장합니다. 기본값은 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.