QNormalDiffuseMapAlphaMaterial Class

class Qt3DExtras::QNormalDiffuseMapAlphaMaterial

QNormalDiffuseMapAlphaMaterial は、レンダリングパスで実行されるアルファカバレッジと深度テストを備えたQNormalDiffuseMapMaterial の特殊化を提供します。詳細...

ヘッダー #include <QNormalDiffuseMapAlphaMaterial>
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トリプレットとしてモデル化された反射率係数によって制御されます:

  • アンビエントは、他の光源がない場合に物体から発せられる色です。
  • ディフューズ(Diffuse)とは、ライトによる急激な表面反射に対して発せられる色です。
  • スペキュラ(Specular)とは、ライトによる表面の光沢のある反射に対して発せられる色です。
  • 表面の輝きは float プロパティで制御します。

このマテリアルは、シングル レンダー パス アプローチのエフェクトを使用し、フラグメントごとにライティングを実行します。テクニックはOpenGL 2、OpenGL 3以上、OpenGL ES 2用に提供されています。

メンバー関数ドキュメント

[explicit] QNormalDiffuseMapAlphaMaterial::QNormalDiffuseMapAlphaMaterial(Qt3DCore::QNode *parent = nullptr)

親オブジェクトparent を持つ新しい QNormalDiffuseMapAlphaMaterial インスタンスを構築する。

[virtual noexcept] QNormalDiffuseMapAlphaMaterial::~QNormalDiffuseMapAlphaMaterial()

QNormalDiffuseMapAlphaMaterial インスタンスを破棄します。

© 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.