PhongAlphaMaterial QML Type
PhongAlphaMaterial クラスは、アルファ値を用いたフォンライティング効果のデフォルトの実装を提供します。詳細...
| Import Statement: | import Qt3D.Extras 2.12 |
| Inherits: | |
| Status: | Deprecated |
この型は非推奨です。新しいコードでの使用は強くお勧めしません。
プロパティ
- alpha : real
- ambient : color
- blendFunctionArg : BlendEquation::BlendFunction
- destinationAlphaArg : BlendEquationArguments::Blending
- destinationRgbArg : BlendEquationArguments::Blending
- diffuse : color
- shininess : real
- sourceAlphaArg : BlendEquationArguments::Blending
- sourceRgbArg : BlendEquationArguments::Blending
- specular : color
詳細説明
フォン照明効果は、アンビエント、ディフューズ、スペキュラーという3つの照明成分の組み合わせに基づいています。これらの成分の相対的な強さは、RGBの3色値としてモデル化された反射率係数によって制御されます。
- アンビエントとは、他の光源がない状態でオブジェクトから放出される色のことです。
- ディフューズは、光が粗い表面で反射した際に発せられる色です。
- スペキュラーとは、光が光沢のある表面で反射した際に発せられる色です。
- 表面の光沢度は、float型のプロパティによって制御されます。
- アルファは、0(完全に透明)から1(不透明)までの範囲で表面の透明度を表します。
このマテリアルは、シングルレンダーパス方式の効果を使用し、フラグメントごとのライティングを実行します。OpenGL 2、OpenGL 3 以降、および OpenGL ES 2 向けの技術が提供されています。
プロパティのドキュメント
alpha : real
オブジェクトのアルファ成分を保持します。この値は 0 から 1 の間で変化します。
デフォルト値は 0.5 です。
ambient : color
現在の周囲の色を保持します。
blendFunctionArg : BlendEquation::BlendFunction
ブレンド方程式関数の引数を保持します。
Qt3DRender::QBlendEquation::BlendFunctionも参照してください 。
destinationAlphaArg : BlendEquationArguments::Blending
ブレンド方程式の宛先アルファブレンディング引数を保持します。
Qt3DRender::QBlendEquationArguments::Blendingも参照してください 。
destinationRgbArg : BlendEquationArguments::Blending
ブレンド方程式の宛先RGBブレンド引数を保持します。
Qt3DRender::QBlendEquationArguments::Blendingも参照してください 。
diffuse : color
現在の拡散色を保持します。
shininess : real
現在の光沢度を維持します。
sourceAlphaArg : BlendEquationArguments::Blending
ブレンド方程式のソースであるアルファブレンディング引数を保持します。
Qt3DRender::QBlendEquationArguments::Blendingも参照してください 。
sourceRgbArg : BlendEquationArguments::Blending
ブレンド方程式のソースRGBブレンド引数を保持します。
Qt3DRender::QBlendEquationArguments::Blendingも参照してください 。
specular : color
現在のスペキュラーカラーを保持します。
© 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.