Kuesa Runtime

IroDiffuseAlphaProperties Class

class Kuesa::IroDiffuseAlphaProperties

Kuesa::IroDiffuseAlphaProperties holds the properties controlling the visual appearance of a IroDiffuseAlphaMaterial instance. More...

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

This class was introduced in Kuesa 1.2.

Properties

Public Functions

float alphaGain() const
QVector2D normalDisturb() const
QVector3D normalScaling() const
float postGain() const
float postVertexColor() const
bool projectReflectionMap() const
float reflectionGain() const
float reflectionInnerAlpha() const
QVector3D reflectionInnerFilter() const
Qt3DRender::QAbstractTexture *reflectionMap() const
float reflectionOuterAlpha() const
QVector3D reflectionOuterFilter() const
bool usesReflectionMap() const

Public Slots

void setAlphaGain(float alphaGain)
void setNormalDisturb(const QVector2D &normalDisturb)
void setNormalScaling(const QVector3D &normalScaling)
void setPostGain(float postGain)
void setPostVertexColor(float postVertexColor)
void setProjectReflectionMap(bool projectReflectionMap)
void setReflectionGain(float reflectionGain)
void setReflectionInnerAlpha(float reflectionInnerAlpha)
void setReflectionInnerFilter(const QVector3D &reflectionInnerFilter)
void setReflectionMap(Qt3DRender::QAbstractTexture *reflectionMap)
void setReflectionOuterAlpha(float reflectionOuterAlpha)
void setReflectionOuterFilter(const QVector3D &reflectionOuterFilter)
void setUsesReflectionMap(bool usesReflectionMap)

Signals

void alphaGainChanged(float)
void normalDisturbChanged(QVector2D)
void normalScalingChanged(QVector3D)
void postGainChanged(float)
void postVertexColorChanged(float)
void projectReflectionMapChanged(bool)
void reflectionGainChanged(float)
void reflectionInnerAlphaChanged(float)
void reflectionInnerFilterChanged(QVector3D)
void reflectionMapChanged(Qt3DRender::QAbstractTexture *)
void reflectionOuterAlphaChanged(float)
void reflectionOuterFilterChanged(QVector3D)
void usesReflectionMapChanged(bool)

Detailed Description

Property Documentation

alphaGain : float

Specifies the gain to apply to the alpha of the reflection map lookup.

Access functions:

float alphaGain() const
void setAlphaGain(float alphaGain)

Notifier signal:

void alphaGainChanged(float)

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)

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)

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)

projectReflectionMap : bool

Specifies whether equirectangular projection should be used for lookups on the reflection map.

Access functions:

bool projectReflectionMap() const
void setProjectReflectionMap(bool projectReflectionMap)

Notifier signal:

void projectReflectionMapChanged(bool)

reflectionGain : float

Specifies the gain factor to be applied to the spherical environment map lookup.

Access functions:

float reflectionGain() const
void setReflectionGain(float reflectionGain)

Notifier signal:

void reflectionGainChanged(float)

reflectionInnerAlpha : float

Specifies the inner alpha factor to be applied.

Access functions:

float reflectionInnerAlpha() const
void setReflectionInnerAlpha(float reflectionInnerAlpha)

Notifier signal:

void reflectionInnerAlphaChanged(float)

reflectionInnerFilter : QVector3D

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

Access functions:

QVector3D reflectionInnerFilter() const
void setReflectionInnerFilter(const QVector3D &reflectionInnerFilter)

Notifier signal:

void reflectionInnerFilterChanged(QVector3D)

reflectionOuterAlpha : float

Specifies the outer alpha factor to be applied.

Access functions:

float reflectionOuterAlpha() const
void setReflectionOuterAlpha(float reflectionOuterAlpha)

Notifier signal:

void reflectionOuterAlphaChanged(float)

reflectionOuterFilter : QVector3D

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

Access functions:

QVector3D reflectionOuterFilter() const
void setReflectionOuterFilter(const QVector3D &reflectionOuterFilter)

Notifier signal:

void reflectionOuterFilterChanged(QVector3D)

usesReflectionMap : bool

Specifies whether we use a reflection map or not.

Access functions:

bool usesReflectionMap() const
void setUsesReflectionMap(bool usesReflectionMap)

Notifier signal:

void usesReflectionMapChanged(bool)