Skip to content

Kuesa::Qt3D::Iro2DiffuseEquiRectMaterial

Module: Kuesa Qt 3D API

Kuesa::Qt3D::Iro2DiffuseEquiRectMaterial is a simple material in terms of rendering that relies on a 2d spherical environment map and a 2d diffuse map to render semi glossy like finishes like clear coated paint. This variant uses a real normal map and equi-rectangular projection, see Iro2DiffuseSem to use a fake normal map and SEM reflection. More...

#include <iro2diffuseequirectmaterial.h>

Inherits from Kuesa::Qt3D::GLTF2Material, Qt3DRender::QMaterial

Public Slots

Name
void setMaterialProperties(Kuesa::Qt3D::Iro2DiffuseEquiRectProperties * materialProperties)
void setMaterialProperties(Kuesa::Qt3D::GLTF2MaterialProperties * materialProperties)

Public Signals

Name
void materialPropertiesChanged(Kuesa::Qt3D::Iro2DiffuseEquiRectProperties * materialProperties)

Public Functions

Name
Q_INVOKABLE Iro2DiffuseEquiRectMaterial(Qt3DCore::QNode * parent =nullptr)
~Iro2DiffuseEquiRectMaterial()
Iro2DiffuseEquiRectProperties * materialProperties() const

Public Properties

Name
Kuesa::Qt3D::Iro2DiffuseEquiRectProperties * materialProperties

Additional inherited members

Public Slots inherited from Kuesa::Qt3D::GLTF2Material

Name
void setMorphController(Kuesa::Qt3D::MorphController * morphController)
void setSRGBOutput(bool sRGBOutput)

Public Signals inherited from Kuesa::Qt3D::GLTF2Material

Name
void morphControllerChanged(Kuesa::Qt3D::MorphController * morphController)
void sRGBOutputChanged(bool sRGBOutput)

Public Functions inherited from Kuesa::Qt3D::GLTF2Material

Name
~GLTF2Material()
MorphController * morphController() const
bool sRGBOutput() const

Protected Functions inherited from Kuesa::Qt3D::GLTF2Material

Name
GLTF2Material(Qt3DCore::QNode * parent =nullptr)
void setShadowMapDepthTexture(Qt3DRender::QAbstractTexture * depthTexture)
void setShadowMapCubeDepthTexture(Qt3DRender::QAbstractTexture * cubeDepthTexture)
void updateEffectSRGBOutput()

Public Properties inherited from Kuesa::Qt3D::GLTF2Material

Name
Kuesa::Qt3D::MorphController * morphController

Protected Attributes inherited from Kuesa::Qt3D::GLTF2Material

Name
Qt3DRender::QParameter * m_morphControllerParameter
Qt3DRender::QParameter * m_textureTransformParameter
Qt3DRender::QParameter * m_shadowMapDepthTextureParameter
Qt3DRender::QParameter * m_shadowMapCubeDepthTextureParameter
bool m_sRGBOutput

Detailed Description

1
class Kuesa::Qt3D::Iro2DiffuseEquiRectMaterial;

Kuesa::Qt3D::Iro2DiffuseEquiRectMaterial is a simple material in terms of rendering that relies on a 2d spherical environment map and a 2d diffuse map to render semi glossy like finishes like clear coated paint. This variant uses a real normal map and equi-rectangular projection, see Iro2DiffuseSem to use a fake normal map and SEM reflection.

Since: Kuesa 2.0

Public Slots Documentation

slot setMaterialProperties

1
2
3
void setMaterialProperties(
    Kuesa::Qt3D::Iro2DiffuseEquiRectProperties * materialProperties
)

slot setMaterialProperties

1
2
3
void setMaterialProperties(
    Kuesa::Qt3D::GLTF2MaterialProperties * materialProperties
)

Public Signals Documentation

signal materialPropertiesChanged

1
2
3
void materialPropertiesChanged(
    Kuesa::Qt3D::Iro2DiffuseEquiRectProperties * materialProperties
)

Public Functions Documentation

function Iro2DiffuseEquiRectMaterial

1
2
3
explicit Q_INVOKABLE Iro2DiffuseEquiRectMaterial(
    Qt3DCore::QNode * parent =nullptr
)

function ~Iro2DiffuseEquiRectMaterial

1
~Iro2DiffuseEquiRectMaterial()

function materialProperties

1
Iro2DiffuseEquiRectProperties * materialProperties() const

Since: Kuesa 2.0

Public Property Documentation

property materialProperties

1
Kuesa::Qt3D::Iro2DiffuseEquiRectProperties * materialProperties;

Since: Kuesa 2.0

The properties defining the appearance of the material.


Updated on 2023-07-03 at 11:02:10 +0000