PhongAlphaMaterial QML Type
PhongAlphaMaterial クラスは、 アルファを使ったフォンの照明効果のデフォルトの実装を提供します。詳細...
Import Statement: | import Qt3D.Extras 2.8 |
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 |
ブレンド方程式出力アルファブレンド引数を保持します。
destinationRgbArg : BlendEquationArguments::Blending |
ブレンド方程式出力 RGB ブレンディング引数を保持します。
diffuse : color |
現在の拡散色を保持します。
shininess : real |
現在の光沢度を保持します。
sourceAlphaArg : BlendEquationArguments::Blending |
ブレンド方程式元アルファブレンド引数を保持します。
Qt3DRender::QBlendEquationArguments::Blending も参照して ください。
sourceRgbArg : BlendEquationArguments::Blending |
ブレンド方程式元 RGB ブレンド引数を保持します。
Qt3DRender::QBlendEquationArguments::Blending も参照して ください。
specular : color |
現在のスペキュラカラーを保持します。
© 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.