このページでは

PolygonOffset QML Type

PolygonOffset 型は、ポリゴンのオフセットに対する深度値を計算するためのスケールとステップを設定します。詳細...

Import Statement: import Qt3D.Render 2.12
In C++: QPolygonOffset
Inherits:

RenderState

Status: Deprecated

この型は非推奨です。新しいコードでの使用は強く推奨しません。

プロパティ

詳細な説明

PolygonOffset 型は、深度テストおよび深度書き込みの前に、フラグメントの深度値にオフセットを加算します。このオフセットを使用することで、デカールなど、深度値が非常に近いポリゴンをレンダリングする際の Z ファイティングを回避できます。

プロパティのドキュメント

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.