Kuesa Runtime

Iro2MatteAlphaProperties Class

class Kuesa::Iro2MatteAlphaProperties

Kuesa::Iro2MatteAlphaProperties holds the properties controlling the visual appearance of a Iro2MatteAlphaMaterial instance. More...

Header: #include <Kuesa/Iro2MatteAlphaProperties>
Since: Kuesa 1.3
Instantiated By: Iro2MatteAlphaProperties
Inherits: Kuesa::GLTF2MaterialProperties

This class was introduced in Kuesa 1.3.

Properties

Public Functions

float alphaGain() const
bool gltfYUp() const
float innerAlpha() const
float matteGain() const
QVector3D matteInnerFilter() const
Qt3DRender::QAbstractTexture *matteMap() const
QVector3D matteOuterFilter() const
QVector2D normalDisturb() const
Qt3DRender::QAbstractTexture *normalMap() const
float normalMapGain() const
QVector3D normalScaling() const
float outerAlpha() const
float postGain() const
QVector3D postHemiFilter() const
float postVertexColor() const
bool usesMatteMap() const
bool usesNormalMap() const
QVector2D uvOffset() const

Public Slots

void setAlphaGain(float alphaGain)
void setGltfYUp(bool gltfYUp)
void setInnerAlpha(float innerAlpha)
void setMatteGain(float matteGain)
void setMatteInnerFilter(const QVector3D &matteInnerFilter)
void setMatteMap(Qt3DRender::QAbstractTexture *matteMap)
void setMatteOuterFilter(const QVector3D &matteOuterFilter)
void setNormalDisturb(const QVector2D &normalDisturb)
void setNormalMap(Qt3DRender::QAbstractTexture *normalMap)
void setNormalMapGain(float normalMapGain)
void setNormalScaling(const QVector3D &normalScaling)
void setOuterAlpha(float outerAlpha)
void setPostGain(float postGain)
void setPostHemiFilter(const QVector3D &postHemiFilter)
void setPostVertexColor(float postVertexColor)
void setUsesMatteMap(bool usesMatteMap)
void setUsesNormalMap(bool usesNormalMap)
void setUvOffset(const QVector2D &uvOffset)

Signals

void alphaGainChanged(float)
void gltfYUpChanged(bool)
void innerAlphaChanged(float)
void matteGainChanged(float)
void matteInnerFilterChanged(QVector3D)
void matteMapChanged(Qt3DRender::QAbstractTexture *)
void matteOuterFilterChanged(QVector3D)
void normalDisturbChanged(QVector2D)
void normalMapChanged(Qt3DRender::QAbstractTexture *)
void normalMapGainChanged(float)
void normalScalingChanged(QVector3D)
void outerAlphaChanged(float)
void postGainChanged(float)
void postHemiFilterChanged(QVector3D)
void postVertexColorChanged(float)
void usesMatteMapChanged(bool)
void usesNormalMapChanged(bool)
void uvOffsetChanged(QVector2D)

Detailed Description

Property Documentation

alphaGain : float

Specifies the overall gain factor to apply to the alpha channel.

Access functions:

float alphaGain() const
void setAlphaGain(float alphaGain)

Notifier signal:

void alphaGainChanged(float)

gltfYUp : bool

Specifies whether this material should consider the Y and Z axis as being inverted.

Access functions:

bool gltfYUp() const
void setGltfYUp(bool gltfYUp)

Notifier signal:

void gltfYUpChanged(bool)

innerAlpha : float

Specifies the inner alpha factor to be applied.

Access functions:

float innerAlpha() const
void setInnerAlpha(float innerAlpha)

Notifier signal:

void innerAlphaChanged(float)

matteGain : float

Specifies the gain to apply to the matte color.

Access functions:

float matteGain() const
void setMatteGain(float matteGain)

Notifier signal:

void matteGainChanged(float)

matteInnerFilter : QVector3D

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

Access functions:

QVector3D matteInnerFilter() const
void setMatteInnerFilter(const QVector3D &matteInnerFilter)

Notifier signal:

void matteInnerFilterChanged(QVector3D)

matteOuterFilter : QVector3D

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

Access functions:

QVector3D matteOuterFilter() const
void setMatteOuterFilter(const QVector3D &matteOuterFilter)

Notifier signal:

void matteOuterFilterChanged(QVector3D)

normalDisturb : QVector2D

Specifies a disturbance factor that will be added to the normal

Access functions:

QVector2D normalDisturb() const
void setNormalDisturb(const QVector2D &normalDisturb)

Notifier signal:

void normalDisturbChanged(QVector2D)

normalMapGain : float

Specifies the strength of the normal map.

Access functions:

float normalMapGain() const
void setNormalMapGain(float normalMapGain)

Notifier signal:

void normalMapGainChanged(float)

normalScaling : QVector3D

Specifies a factor to be applied to the normal.

Access functions:

QVector3D normalScaling() const
void setNormalScaling(const QVector3D &normalScaling)

Notifier signal:

void normalScalingChanged(QVector3D)

outerAlpha : float

Specifies the outer alpha factor to be applied.

Access functions:

float outerAlpha() const
void setOuterAlpha(float outerAlpha)

Notifier signal:

void outerAlphaChanged(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)

postHemiFilter : QVector3D

Specifies the color to be applied to the lower hemisphere. It is multiplied like a negative diffuse light coming from below.

Access functions:

QVector3D postHemiFilter() const
void setPostHemiFilter(const QVector3D &postHemiFilter)

Notifier signal:

void postHemiFilterChanged(QVector3D)

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)

usesNormalMap : bool

Specifies whether we use a normal map or not.

Access functions:

bool usesNormalMap() const
void setUsesNormalMap(bool usesNormalMap)

Notifier signal:

void usesNormalMapChanged(bool)

uvOffset : QVector2D

Applies an offset to texture lookup.

Access functions:

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

Notifier signal:

void uvOffsetChanged(QVector2D)