AlphaTest QML Type
AlphaTestクラスはアルファ・リファレンス・テストを指定します。詳細...
| Import Statement: | import Qt3D.Render 2.11 |
| In C++: | QAlphaTest |
| Inherits: | |
| Status: | Deprecated |
プロパティ
- alphaFunction : enumeration
- referenceValue : real
詳細説明
OpenGLのドキュメントで説明されているように、アルファテストは、入力されるフラグメントのアルファ値と一定の参照値との比較の結果を条件として、フラグメントを破棄する。
プロパティの説明
alphaFunction : enumeration
アルファ検定で使用するアルファ関数を保持する。デフォルトはAlphaTest.Never。
- AlphaTest.Never
- AlphaTest.Always
- AlphaTest.Less
- AlphaTest.LessOrEqual
- AlphaTest.Equal
- AlphaTest.GreaterOrEqual
- AlphaTest.Greater
- AlphaTest.NotEqual
Qt3DRender::QAlphaTest::AlphaFunctionも参照 。
referenceValue : real
アルファテストで使用される基準値を保持する。デフォルトは0.0。設定すると、値は 0 から 1 の間で固定される。
© 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.