Kuesa Runtime

IroMatteAlphaProperties Class

class Kuesa::IroMatteAlphaProperties

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

Header: #include <Kuesa/IroMatteAlphaProperties>
Since: Kuesa 1.2
Instantiated By: IroMatteAlphaProperties
Inherits: Kuesa::GLTF2MaterialProperties

This class was introduced in Kuesa 1.2.

Properties

Public Functions

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

Public Slots

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

Signals

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

Detailed Description

Property Documentation

matteAlphaGain : float

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

Access functions:

float matteAlphaGain() const
void setMatteAlphaGain(float matteAlphaGain)

Notifier signal:

void matteAlphaGainChanged(float)

matteFilter : QVector3D

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

Access functions:

QVector3D matteFilter() const
void setMatteFilter(const QVector3D &matteFilter)

Notifier signal:

void matteFilterChanged(QVector3D)

matteGain : float

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

Access functions:

float matteGain() const
void setMatteGain(float matteGain)

Notifier signal:

void matteGainChanged(float)

postGain : float

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

Access functions:

float postGain() const
void setPostGain(float postGain)

Notifier signal:

void postGainChanged(float)

postVertexColor : float

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

Access functions:

float postVertexColor() const
void setPostVertexColor(float postVertexColor)

Notifier signal:

void postVertexColorChanged(float)

usesMatteMap : bool

Specifies whether we use a matte map or not.

Access functions:

bool usesMatteMap() const
void setUsesMatteMap(bool usesMatteMap)

Notifier signal:

void usesMatteMapChanged(bool)

uvOffset : QVector2D

Applies an offset to texture lookup.

Access functions:

QVector2D uvOffset() const
void setUvOffset(const QVector2D &uvOffset)

Notifier signal:

void uvOffsetChanged(QVector2D)