Skip to content

Kuesa::Qt3D::IroDiffuseMaterial

Module: Kuesa Qt 3D API

Kuesa::Qt3D::IroDiffuseMaterial 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. More...

#include <irodiffusematerial.h>

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

Public Slots

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

Public Signals

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

Public Functions

Name
Q_INVOKABLE IroDiffuseMaterial(Qt3DCore::QNode * parent =nullptr)
~IroDiffuseMaterial()
IroDiffuseProperties * materialProperties() const

Public Properties

Name
Kuesa::Qt3D::IroDiffuseProperties * 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::IroDiffuseMaterial;

Kuesa::Qt3D::IroDiffuseMaterial 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.

Since: Kuesa 2.0

Public Slots Documentation

slot setMaterialProperties

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

slot setMaterialProperties

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

Public Signals Documentation

signal materialPropertiesChanged

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

Public Functions Documentation

function IroDiffuseMaterial

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

function ~IroDiffuseMaterial

1
~IroDiffuseMaterial()

function materialProperties

1
IroDiffuseProperties * materialProperties() const

Since: Kuesa 2.0

Public Property Documentation

property materialProperties

1
Kuesa::Qt3D::IroDiffuseProperties * materialProperties;

Since: Kuesa 2.0

The properties defining the appearance of the material.


Updated on 2023-07-03 at 08:07:26 +0000