Skip to content

Kuesa::Qt3D::ClearCoatProperties

Module: Kuesa Qt 3D API

Kuesa::Qt3D::ClearCoatProperties hold the properties of a the KHR_materials_clearcoat extension for physically based rendering (PBR) material based on the glTF 2.0 material description. More...

#include <Kuesa/Qt3D/api/materials/clearcoatproperties.h>

Inherits from Qt3DCore::QNode

Public Slots

Name
void setClearCoatTextureUsesTexCoord1(bool clearCoatTextureUsesTexCoord1)
void setClearCoatNormalTextureUsesTexCoord1(bool clearCoatNormalTextureUsesTexCoord1)
void setClearCoatRoughnessTextureUsesTexCoord1(bool clearCoatRoughnessTextureUsesTexCoord1)
void setClearCoatFactor(float clearCoatFactor)
void setClearCoatRoughnessFactor(float clearCoatRoughnessFactor)
void setClearCoatTexture(Qt3DRender::QAbstractTexture * clearCoatTexture)
void setClearCoatNormalTexture(Qt3DRender::QAbstractTexture * clearCoatNormalTexture)
void setClearCoatRoughnessTexture(Qt3DRender::QAbstractTexture * clearCoatRoughnessTexture)

Public Signals

Name
void clearCoatTextureUsesTexCoord1Changed(bool )
void clearCoatNormalTextureUsesTexCoord1Changed(bool )
void clearCoatRoughnessTextureUsesTexCoord1Changed(bool )
void clearCoatFactorChanged(float clearCoatFactor)
void clearCoatRoughnessFactorChanged(float clearCoatRoughnessFactor)
void clearCoatTextureChanged(Qt3DRender::QAbstractTexture * clearCoatTexture)
void clearCoatNormalTextureChanged(Qt3DRender::QAbstractTexture * clearCoatNormalTexture)
void clearCoatRoughnessTextureChanged(Qt3DRender::QAbstractTexture * clearCoatRoughnessTexture)

Public Functions

Name
ClearCoatProperties(Qt3DCore::QNode * parent =nullptr)
Kuesa::ClearCoatProperties hold the properties of a the KHR_materials_clearcoat extension for physically based rendering (PBR) material based on the glTF 2.0 material description.
~ClearCoatProperties()
Qt3DRender::QShaderData * shaderData() const
bool isClearCoatTextureUsingTexCoord1() const
bool isClearCoatNormalTextureUsingTexCoord1() const
bool isClearCoatRoughnessTextureUsingTexCoord1() const
float clearCoatFactor() const
float clearCoatRoughnessFactor() const
Qt3DRender::QAbstractTexture * clearCoatTexture() const
Qt3DRender::QAbstractTexture * clearCoatNormalTexture() const
Qt3DRender::QAbstractTexture * clearCoatRoughnessTexture() const

Public Properties

Name
bool clearCoatTextureUsesTexCoord1
bool clearCoatNormalTextureUsesTexCoord1
bool clearCoatRoughnessTextureUsesTexCoord1
float clearCoatFactor
float clearCoatRoughnessFactor
Qt3DRender::QAbstractTexture * clearCoatTexture
Qt3DRender::QAbstractTexture * clearCoatNormalTexture
Qt3DRender::QAbstractTexture * clearCoatRoughnessTexture

Detailed Description

1
class Kuesa::Qt3D::ClearCoatProperties;

Kuesa::Qt3D::ClearCoatProperties hold the properties of a the KHR_materials_clearcoat extension for physically based rendering (PBR) material based on the glTF 2.0 material description.

Since: Kuesa 2.1

Public Slots Documentation

slot setClearCoatTextureUsesTexCoord1

1
2
3
void setClearCoatTextureUsesTexCoord1(
    bool clearCoatTextureUsesTexCoord1
)

slot setClearCoatNormalTextureUsesTexCoord1

1
2
3
void setClearCoatNormalTextureUsesTexCoord1(
    bool clearCoatNormalTextureUsesTexCoord1
)

slot setClearCoatRoughnessTextureUsesTexCoord1

1
2
3
void setClearCoatRoughnessTextureUsesTexCoord1(
    bool clearCoatRoughnessTextureUsesTexCoord1
)

slot setClearCoatFactor

1
2
3
void setClearCoatFactor(
    float clearCoatFactor
)

slot setClearCoatRoughnessFactor

1
2
3
void setClearCoatRoughnessFactor(
    float clearCoatRoughnessFactor
)

slot setClearCoatTexture

1
2
3
void setClearCoatTexture(
    Qt3DRender::QAbstractTexture * clearCoatTexture
)

slot setClearCoatNormalTexture

1
2
3
void setClearCoatNormalTexture(
    Qt3DRender::QAbstractTexture * clearCoatNormalTexture
)

slot setClearCoatRoughnessTexture

1
2
3
void setClearCoatRoughnessTexture(
    Qt3DRender::QAbstractTexture * clearCoatRoughnessTexture
)

Public Signals Documentation

signal clearCoatTextureUsesTexCoord1Changed

1
2
3
void clearCoatTextureUsesTexCoord1Changed(
    bool 
)

signal clearCoatNormalTextureUsesTexCoord1Changed

1
2
3
void clearCoatNormalTextureUsesTexCoord1Changed(
    bool 
)

signal clearCoatRoughnessTextureUsesTexCoord1Changed

1
2
3
void clearCoatRoughnessTextureUsesTexCoord1Changed(
    bool 
)

signal clearCoatFactorChanged

1
2
3
void clearCoatFactorChanged(
    float clearCoatFactor
)

signal clearCoatRoughnessFactorChanged

1
2
3
void clearCoatRoughnessFactorChanged(
    float clearCoatRoughnessFactor
)

signal clearCoatTextureChanged

1
2
3
void clearCoatTextureChanged(
    Qt3DRender::QAbstractTexture * clearCoatTexture
)

signal clearCoatNormalTextureChanged

1
2
3
void clearCoatNormalTextureChanged(
    Qt3DRender::QAbstractTexture * clearCoatNormalTexture
)

signal clearCoatRoughnessTextureChanged

1
2
3
void clearCoatRoughnessTextureChanged(
    Qt3DRender::QAbstractTexture * clearCoatRoughnessTexture
)

Public Functions Documentation

function ClearCoatProperties

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

Kuesa::ClearCoatProperties hold the properties of a the KHR_materials_clearcoat extension for physically based rendering (PBR) material based on the glTF 2.0 material description.

Since: Kuesa 2.0

function ~ClearCoatProperties

1
~ClearCoatProperties()

function shaderData

1
Qt3DRender::QShaderData * shaderData() const

function isClearCoatTextureUsingTexCoord1

1
bool isClearCoatTextureUsingTexCoord1() const

function isClearCoatNormalTextureUsingTexCoord1

1
bool isClearCoatNormalTextureUsingTexCoord1() const

function isClearCoatRoughnessTextureUsingTexCoord1

1
bool isClearCoatRoughnessTextureUsingTexCoord1() const

function clearCoatFactor

1
float clearCoatFactor() const

function clearCoatRoughnessFactor

1
float clearCoatRoughnessFactor() const

function clearCoatTexture

1
Qt3DRender::QAbstractTexture * clearCoatTexture() const

function clearCoatNormalTexture

1
Qt3DRender::QAbstractTexture * clearCoatNormalTexture() const

function clearCoatRoughnessTexture

1
Qt3DRender::QAbstractTexture * clearCoatRoughnessTexture() const

Public Property Documentation

property clearCoatTextureUsesTexCoord1

1
bool clearCoatTextureUsesTexCoord1;

False if the texture must use the 0th texture coordinate set, binded to 'defaultTextureCoordinateName' attribute. True if the texture must use the 1st texture coordinate set, binded to 'defaultTextureCoordinate1Name' attribute.

property clearCoatNormalTextureUsesTexCoord1

1
bool clearCoatNormalTextureUsesTexCoord1;

False if the texture must use the 0th texture coordinate set, binded to 'defaultTextureCoordinateName' attribute. True if the texture must use the 1st texture coordinate set, binded to 'defaultTextureCoordinate1Name' attribute.

property clearCoatRoughnessTextureUsesTexCoord1

1
bool clearCoatRoughnessTextureUsesTexCoord1;

False if the texture must use the 0th texture coordinate set, binded to 'defaultTextureCoordinateName' attribute. True if the texture must use the 1st texture coordinate set, binded to 'defaultTextureCoordinate1Name' attribute.

property clearCoatFactor

1
float clearCoatFactor;

Specifies the normalized factor to be used to control the clearcoat layer intensity. Defaults to 0.0.

property clearCoatRoughnessFactor

1
float clearCoatRoughnessFactor;

Specifies the normalized factor to be used to control the clearcoat roughness layer intensity. Defaults to 0.0.

property clearCoatTexture

1
Qt3DRender::QAbstractTexture * clearCoatTexture;

Specifies a texture to be used for the clear coat intensity layer. The content of the texture is expected to be in linear RGB color space.

property clearCoatNormalTexture

1
Qt3DRender::QAbstractTexture * clearCoatNormalTexture;

Specifies a texture to be used for normal mapping of the clear coat layer. If not specified, no normal mapping is applied.

property clearCoatRoughnessTexture

1
Qt3DRender::QAbstractTexture * clearCoatRoughnessTexture;

Specifies a texture to be used for the clear coat roughness intensity layer. The content of the texture is expected to be in linear RGB color space.


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