Qt3DExtras::QNormalDiffuseMapAlphaMaterial Class
class Qt3DExtras::QNormalDiffuseMapAlphaMaterialQNormalDiffuseMapAlphaMaterial は、QNormalDiffuseMapMaterial の特殊化であり、アルファカバレッジと、レンダリングパスで実行される深度テストを備えています。詳細...
| ヘッダー: | #include <qnormaldiffusemapalphamaterial.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dextras) target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
| qmake: | QT += 3dextras |
| 継承元: | Qt3DExtras::QNormalDiffuseMapMaterial |
| ステータス: | 非推奨 |
このクラスは非推奨です。新しいコードでの使用は強く推奨しません。
パブリック関数
| QNormalDiffuseMapAlphaMaterial(Qt3DCore::QNode *parent = nullptr) | |
| virtual | ~QNormalDiffuseMapAlphaMaterial() |
詳細な説明
このクラスは非推奨です。代わりにQt3DExtras::QDiffuseSpecularMaterial を使用してください。
鏡面反射の照明効果は、アンビエント、拡散、鏡面反射という 3 つの照明コンポーネントの組み合わせに基づいています。これらのコンポーネントの相対的な強さは、RGB の 3 値としてモデル化された反射率係数によって制御されます。
- アンビエントとは、他の光源がない状態でオブジェクトから放出される色のことです。
- ディフューズとは、光が粗い表面で反射した際に発せられる色です。
- スペキュラーは、光が光沢のある表面で反射した際に発せられる色です。
- 表面の光沢度は、float型のプロパティによって制御されます。
このマテリアルは、シングルレンダーパス方式の効果を使用し、フラグメントごとのライティングを実行します。OpenGL 2、OpenGL 3 以降、および OpenGL ES 2 向けのテクニックが提供されています。
メンバ関数のドキュメント
[explicit] QNormalDiffuseMapAlphaMaterial::QNormalDiffuseMapAlphaMaterial(Qt3DCore::QNode *parent = nullptr)
親オブジェクトparent を持つ新しいQNormalDiffuseMapAlphaMaterialインスタンスを作成します。
[virtual noexcept] QNormalDiffuseMapAlphaMaterial::~QNormalDiffuseMapAlphaMaterial()
QNormalDiffuseMapAlphaMaterial インスタンスを破棄します。
© 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.