PhongAlphaMaterial QML Type
PhongAlphaMaterial クラスは、 アルファを使ったフォンの照明効果のデフォルトの実装を提供します。詳細...
| Import Statement: | import Qt3D.Extras 2.11 |
| 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トリプレットとしてモデル化された反射率係数によって制御されます:
- アンビエントは、他の光源がない場合に物体から発せられる色です。
- ディフューズ(Diffuse)とは、ライトによる急激な表面反射に対して発せられる色です。
- スペキュラ(Specular)とは、ライトによる光沢のある表面の反射に対して発せられる色です。
- サーフェスの輝きは float プロパティで制御します。
- Alphaは、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.