Kuesa Runtime

Iro2DiffuseEquiRectProperties Class

class Kuesa::Iro2DiffuseEquiRectProperties

Kuesa::Iro2DiffuseEquiRectProperties holds the properties controlling the visual appearance of a Iro2DiffuseEquiRectMaterial instance. More...

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

This class was introduced in Kuesa 1.3.

Properties

Public Functions

float diffuseGain() const
QVector3D diffuseInnerFilter() const
Qt3DRender::QAbstractTexture *diffuseMap() const
QVector3D diffuseOuterFilter() const
bool gltfYUp() const
QVector2D normalDisturb() const
Qt3DRender::QAbstractTexture *normalMap() const
float normalMapGain() const
QVector3D normalScaling() const
float postGain() const
QVector3D postHemiFilter() const
float postVertexColor() const
float reflectionGain() const
QVector3D reflectionInnerFilter() const
Qt3DRender::QAbstractTexture *reflectionMap() const
QVector3D reflectionOuterFilter() const
bool usesDiffuseMap() const
bool usesNormalMap() const
bool usesReflectionMap() const

Public Slots

void setDiffuseGain(float diffuseGain)
void setDiffuseInnerFilter(const QVector3D &diffuseInnerFilter)
void setDiffuseMap(Qt3DRender::QAbstractTexture *diffuseMap)
void setDiffuseOuterFilter(const QVector3D &diffuseOuterFilter)
void setGltfYUp(bool gltfYUp)
void setNormalDisturb(const QVector2D &normalDisturb)
void setNormalMap(Qt3DRender::QAbstractTexture *normalMap)
void setNormalMapGain(float normalMapGain)
void setNormalScaling(const QVector3D &normalScaling)
void setPostGain(float postGain)
void setPostHemiFilter(const QVector3D &postHemiFilter)
void setPostVertexColor(float postVertexColor)
void setReflectionGain(float reflectionGain)
void setReflectionInnerFilter(const QVector3D &reflectionInnerFilter)
void setReflectionMap(Qt3DRender::QAbstractTexture *reflectionMap)
void setReflectionOuterFilter(const QVector3D &reflectionOuterFilter)
void setUsesDiffuseMap(bool usesDiffuseMap)
void setUsesNormalMap(bool usesNormalMap)
void setUsesReflectionMap(bool usesReflectionMap)

Signals

void diffuseGainChanged(float)
void diffuseInnerFilterChanged(QVector3D)
void diffuseMapChanged(Qt3DRender::QAbstractTexture *)
void diffuseOuterFilterChanged(QVector3D)
void gltfYUpChanged(bool)
void normalDisturbChanged(QVector2D)
void normalMapChanged(Qt3DRender::QAbstractTexture *)
void normalMapGainChanged(float)
void normalScalingChanged(QVector3D)
void postGainChanged(float)
void postHemiFilterChanged(QVector3D)
void postVertexColorChanged(float)
void reflectionGainChanged(float)
void reflectionInnerFilterChanged(QVector3D)
void reflectionMapChanged(Qt3DRender::QAbstractTexture *)
void reflectionOuterFilterChanged(QVector3D)
void usesDiffuseMapChanged(bool)
void usesNormalMapChanged(bool)
void usesReflectionMapChanged(bool)

Detailed Description

Property Documentation

diffuseGain : float

Specifies the gain to apply to the diffuse color.

Access functions:

float diffuseGain() const
void setDiffuseGain(float diffuseGain)

Notifier signal:

void diffuseGainChanged(float)

diffuseInnerFilter : QVector3D

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

Access functions:

QVector3D diffuseInnerFilter() const
void setDiffuseInnerFilter(const QVector3D &diffuseInnerFilter)

Notifier signal:

void diffuseInnerFilterChanged(QVector3D)

diffuseOuterFilter : QVector3D

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

Access functions:

QVector3D diffuseOuterFilter() const
void setDiffuseOuterFilter(const QVector3D &diffuseOuterFilter)

Notifier signal:

void diffuseOuterFilterChanged(QVector3D)

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)

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)

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)

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)

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)

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)

usesDiffuseMap : bool

Specifies whether we use a diffuse map or not.

Access functions:

bool usesDiffuseMap() const
void setUsesDiffuseMap(bool usesDiffuseMap)

Notifier signal:

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

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)