Skip to content

Kuesa::Qt3D::IroMatteAlphaProperties

Module: Kuesa Qt 3D API

Kuesa::Qt3D::IroMatteAlphaProperties holds the properties controlling the visual appearance of a IroMatteAlphaMaterial instance. More...

#include <iromattealphaproperties.h>

Inherits from Kuesa::Qt3D::GLTF2MaterialProperties, Qt3DCore::QNode

Public Slots

Name
void setPostVertexColor(float postVertexColor)
void setPostGain(float postGain)
void setMatteMap(Qt3DRender::QAbstractTexture * matteMap)
void setUsesMatteMap(bool usesMatteMap)
void setMatteFilter(const QVector3D & matteFilter)
void setMatteGain(float matteGain)
void setMatteAlphaGain(float matteAlphaGain)
void setUvOffset(const QVector2D & uvOffset)

Public Signals

Name
void postVertexColorChanged(float )
void postGainChanged(float )
void matteMapChanged(Qt3DRender::QAbstractTexture * )
void usesMatteMapChanged(bool )
void matteFilterChanged(QVector3D )
void matteGainChanged(float )
void matteAlphaGainChanged(float )
void uvOffsetChanged(QVector2D )

Public Functions

Name
Q_INVOKABLE IroMatteAlphaProperties(Qt3DCore::QNode * parent =nullptr)
~IroMatteAlphaProperties()
virtual Qt3DRender::QShaderData * shaderData() const override
float postVertexColor() const
float postGain() const
Qt3DRender::QAbstractTexture * matteMap() const
bool usesMatteMap() const
QVector3D matteFilter() const
float matteGain() const
float matteAlphaGain() const
QVector2D uvOffset() const

Public Properties

Name
float postVertexColor
float postGain
Qt3DRender::QAbstractTexture * matteMap
bool usesMatteMap
QVector3D matteFilter
float matteGain
float matteAlphaGain
QVector2D uvOffset

Additional inherited members

Public Slots inherited from Kuesa::Qt3D::GLTF2MaterialProperties

Name
void setBaseColorUsesTexCoord1(bool baseColorUsesTexCoord1)
void setBaseColorFactor(const QColor & baseColorFactor)
void setBaseColorMap(Qt3DRender::QAbstractTexture * baseColorMap)
void setAlphaCutoff(float alphaCutoff)
void setReceivesShadows(bool receivesShadows)
void setShadowMapDepthTexture(Qt3DRender::QAbstractTexture * depthTexture)
void setShadowMapCubeDepthTexture(Qt3DRender::QAbstractTexture * cubeMapDepthTexture)

Public Signals inherited from Kuesa::Qt3D::GLTF2MaterialProperties

Name
void baseColorUsesTexCoord1Changed(bool )
void baseColorFactorChanged(const QColor & baseColorFactor)
void baseColorMapChanged(Qt3DRender::QAbstractTexture * baseColorMap)
void alphaCutoffChanged(float alphaCutoff)
void receivesShadowsChanged(bool receivesShadows)
void shadowMapDepthTextureChanged(Qt3DRender::QAbstractTexture * depthTexture)
void shadowMapCubeDepthTextureChanged(Qt3DRender::QAbstractTexture * cubeMapDepthTexture)

Public Functions inherited from Kuesa::Qt3D::GLTF2MaterialProperties

Name
GLTF2MaterialProperties(Qt3DCore::QNode * parent =nullptr)
~GLTF2MaterialProperties()
bool isBaseColorUsingTexCoord1() const
QColor baseColorFactor() const
Qt3DRender::QAbstractTexture * baseColorMap() const
float alphaCutoff() const
void addClientMaterial(Qt3DRender::QMaterial * material)
QVector< Qt3DRender::QMaterial * > clientMaterials() const
bool receivesShadows() const
Qt3DRender::QAbstractTexture * shadowMapDepthTexture() const
Qt3DRender::QAbstractTexture * shadowMapCubeDepthTexture() const

Public Properties inherited from Kuesa::Qt3D::GLTF2MaterialProperties

Name
bool baseColorUsesTexCoord1
QColor baseColorFactor
Qt3DRender::QAbstractTexture * baseColorMap
float alphaCutoff
bool receivesShadows

Detailed Description

1
class Kuesa::Qt3D::IroMatteAlphaProperties;

Kuesa::Qt3D::IroMatteAlphaProperties holds the properties controlling the visual appearance of a IroMatteAlphaMaterial instance.

Since: Kuesa 2.0

Public Slots Documentation

slot setPostVertexColor

1
2
3
void setPostVertexColor(
    float postVertexColor
)

slot setPostGain

1
2
3
void setPostGain(
    float postGain
)

slot setMatteMap

1
2
3
void setMatteMap(
    Qt3DRender::QAbstractTexture * matteMap
)

slot setUsesMatteMap

1
2
3
void setUsesMatteMap(
    bool usesMatteMap
)

slot setMatteFilter

1
2
3
void setMatteFilter(
    const QVector3D & matteFilter
)

slot setMatteGain

1
2
3
void setMatteGain(
    float matteGain
)

slot setMatteAlphaGain

1
2
3
void setMatteAlphaGain(
    float matteAlphaGain
)

slot setUvOffset

1
2
3
void setUvOffset(
    const QVector2D & uvOffset
)

Public Signals Documentation

signal postVertexColorChanged

1
2
3
void postVertexColorChanged(
    float 
)

signal postGainChanged

1
2
3
void postGainChanged(
    float 
)

signal matteMapChanged

1
2
3
void matteMapChanged(
    Qt3DRender::QAbstractTexture * 
)

signal usesMatteMapChanged

1
2
3
void usesMatteMapChanged(
    bool 
)

signal matteFilterChanged

1
2
3
void matteFilterChanged(
    QVector3D 
)

signal matteGainChanged

1
2
3
void matteGainChanged(
    float 
)

signal matteAlphaGainChanged

1
2
3
void matteAlphaGainChanged(
    float 
)

signal uvOffsetChanged

1
2
3
void uvOffsetChanged(
    QVector2D 
)

Public Functions Documentation

function IroMatteAlphaProperties

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

function ~IroMatteAlphaProperties

1
~IroMatteAlphaProperties()

function shaderData

1
virtual Qt3DRender::QShaderData * shaderData() const override

Reimplements: Kuesa::Qt3D::GLTF2MaterialProperties::shaderData

function postVertexColor

1
float postVertexColor() const

function postGain

1
float postGain() const

function matteMap

1
Qt3DRender::QAbstractTexture * matteMap() const

function usesMatteMap

1
bool usesMatteMap() const

function matteFilter

1
QVector3D matteFilter() const

function matteGain

1
float matteGain() const

function matteAlphaGain

1
float matteAlphaGain() const

function uvOffset

1
QVector2D uvOffset() const

Public Property Documentation

property postVertexColor

1
float postVertexColor;

Specifies the factor which controls how much of the per vertex color we want to transmit.

property postGain

1
float postGain;

Specifies the gain factor to be applied to the final result.

property matteMap

1
Qt3DRender::QAbstractTexture * matteMap;

property usesMatteMap

1
bool usesMatteMap;

Specifies whether we use a matte map or not.

property matteFilter

1
QVector3D matteFilter;

Specifies the color filter to be applied on the matte map lookup.

property matteGain

1
float matteGain;

Specifies the gain applied to the rgb components of the matte map lookup.

property matteAlphaGain

1
float matteAlphaGain;

Specifies the gain applied to the alpha of the matte map lookup.

property uvOffset

1
QVector2D uvOffset;

Applies an offset to texture lookup.


Updated on 2022-10-18 at 11:12:51 +0200