Skip to content

Kuesa::Qt3D::IroGlassAddMaterial

#include <iroglassaddmaterial.h>

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

Public Slots

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

Public Signals

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

Public Functions

Name
Q_INVOKABLE IroGlassAddMaterial(Qt3DCore::QNode * parent =nullptr)
~IroGlassAddMaterial()
IroGlassAddProperties * materialProperties() const

Public Properties

Name
Kuesa::Qt3D::IroGlassAddProperties * 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

Public Slots Documentation

slot setMaterialProperties

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

slot setMaterialProperties

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

Public Signals Documentation

signal materialPropertiesChanged

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

Public Functions Documentation

function IroGlassAddMaterial

1
2
3
explicit Q_INVOKABLE IroGlassAddMaterial(
    Qt3DCore::QNode * parent =nullptr
)
1
2
3
4
5
6
7
8
\class Kuesa::Qt3D::IroGlassAddMaterial
\ingroup KuesaQt3DAPI
\headerfile Kuesa/Qt3D/api/iro-materials/iroglassaddmaterial.h <Kuesa/Qt3D/api/iro-materials/iroglassaddmaterial.h>
\noop Kuesa::Qt3D::GLTF2Material
\noop Kuesa
\since Kuesa 2.0

\brief Kuesa::Qt3D::IroGlassAddMaterial is a simple material in terms of rendering that relies on a 2d spherical environment map to render transparent, glass like material.

It performs 2 render passes. The first one performs multiplicative blending using the glass filter simulating the tint of the glass. The second pass performs additive blending for the reflections.

function ~IroGlassAddMaterial

1
~IroGlassAddMaterial()

function materialProperties

1
IroGlassAddProperties * materialProperties() const

Since: Kuesa 2.0

Public Property Documentation

property materialProperties

1
Kuesa::Qt3D::IroGlassAddProperties * materialProperties;

Since: Kuesa 2.0

The properties defining the appearance of the material.


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