PolygonOffset QML Type
PolygonOffset型は、ポリゴンオフセットの深さ値を計算するためのスケールとステップを設定します。詳細...
Import Statement: | import Qt3D.Render 2.8 |
In C++: | QPolygonOffset |
Inherits: | |
Status: | Deprecated |
プロパティ
- depthSteps : real
- scaleFactor : real
詳細説明
PolygonOffset 型は、深度テストと深度書き込みの前に、フラグメントの深度値にオフセットを追加します。このオフセットは、デカールのような非常に近い深度値を持つポリゴンをレンダリングするときに、Zファイトを回避するために使用できます。
プロパティ ドキュメント
depthSteps : real |
一定の深度オフセットを作成する単位を保持します。デフォルト値は 0 です。
scaleFactor : real |
各ポリゴンの可変深度オフセットを作成するために使用されるスケールファクタを保持します。デフォルト値は 0。
© 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.