Skip to content

Kuesa::Qt3D::IroMatteSkyboxProperties

Module: Kuesa Qt 3D API

Kuesa::Qt3D::IroMatteSkyboxProperties holds the properties controlling the visual appearance of a IroMatteSkyboxMaterial instance. More...

#include <iromatteskyboxproperties.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 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 uvOffsetChanged(QVector2D )

Public Functions

Name
Q_INVOKABLE IroMatteSkyboxProperties(Qt3DCore::QNode * parent =nullptr)
~IroMatteSkyboxProperties()
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
QVector2D uvOffset() const

Public Properties

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

Additional inherited members

Public Types inherited from Kuesa::Qt3D::GLTF2MaterialProperties

Name
enum class ColorSpace { Linear, sRGB}

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 setOutputColorSpace(ColorSpace colorSpace)
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)
void outputColorSpaceChanged(ColorSpace colorSpace)

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
ColorSpace outputColorSpace() 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
ColorSpace outputColorSpace

Detailed Description

1
class Kuesa::Qt3D::IroMatteSkyboxProperties;

Kuesa::Qt3D::IroMatteSkyboxProperties holds the properties controlling the visual appearance of a IroMatteSkyboxMaterial 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 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 uvOffsetChanged

1
2
3
void uvOffsetChanged(
    QVector2D 
)

Public Functions Documentation

function IroMatteSkyboxProperties

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

function ~IroMatteSkyboxProperties

1
~IroMatteSkyboxProperties()

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 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 uvOffset

1
QVector2D uvOffset;

Applies an offset to texture lookup.


Updated on 2023-07-03 at 11:02:10 +0000