Kuesa::Qt3D::Iro2MatteAlphaProperties
Module: Kuesa Qt 3D API
Kuesa::Qt3D::Iro2MatteAlphaProperties holds the properties controlling the visual appearance of a Iro2MatteAlphaMaterial instance. More...
#include <iro2mattealphaproperties.h>
Inherits from Kuesa::Qt3D::GLTF2MaterialProperties, Qt3DCore::QNode
Public Slots
Public Signals
Public Functions
Public Properties
Additional inherited members
Public Types inherited from Kuesa::Qt3D::GLTF2MaterialProperties
Public Slots inherited from Kuesa::Qt3D::GLTF2MaterialProperties
Public Signals inherited from Kuesa::Qt3D::GLTF2MaterialProperties
Public Functions inherited from Kuesa::Qt3D::GLTF2MaterialProperties
Public Properties inherited from Kuesa::Qt3D::GLTF2MaterialProperties
Detailed Description
| class Kuesa::Qt3D::Iro2MatteAlphaProperties;
|
Kuesa::Qt3D::Iro2MatteAlphaProperties holds the properties controlling the visual appearance of a Iro2MatteAlphaMaterial instance.
Since: Kuesa 2.0
Public Slots Documentation
slot setUsesMatteMap
| void setUsesMatteMap(
bool usesMatteMap
)
|
slot setMatteMap
| void setMatteMap(
Qt3DRender::QAbstractTexture * matteMap
)
|
slot setMatteGain
| void setMatteGain(
float matteGain
)
|
slot setMatteInnerFilter
| void setMatteInnerFilter(
const QVector3D & matteInnerFilter
)
|
slot setMatteOuterFilter
| void setMatteOuterFilter(
const QVector3D & matteOuterFilter
)
|
slot setUvOffset
| void setUvOffset(
const QVector2D & uvOffset
)
|
slot setInnerAlpha
| void setInnerAlpha(
float innerAlpha
)
|
slot setOuterAlpha
| void setOuterAlpha(
float outerAlpha
)
|
slot setAlphaGain
| void setAlphaGain(
float alphaGain
)
|
slot setUsesNormalMap
| void setUsesNormalMap(
bool usesNormalMap
)
|
slot setNormalMap
| void setNormalMap(
Qt3DRender::QAbstractTexture * normalMap
)
|
slot setNormalMapGain
| void setNormalMapGain(
float normalMapGain
)
|
slot setNormalScaling
| void setNormalScaling(
const QVector3D & normalScaling
)
|
slot setNormalDisturb
| void setNormalDisturb(
const QVector2D & normalDisturb
)
|
slot setPostVertexColor
| void setPostVertexColor(
float postVertexColor
)
|
slot setPostHemiFilter
| void setPostHemiFilter(
const QVector3D & postHemiFilter
)
|
slot setPostGain
| void setPostGain(
float postGain
)
|
slot setGltfYUp
| void setGltfYUp(
bool gltfYUp
)
|
Public Signals Documentation
signal usesMatteMapChanged
| void usesMatteMapChanged(
bool
)
|
signal matteMapChanged
| void matteMapChanged(
Qt3DRender::QAbstractTexture *
)
|
signal matteGainChanged
| void matteGainChanged(
float
)
|
signal matteInnerFilterChanged
| void matteInnerFilterChanged(
QVector3D
)
|
signal matteOuterFilterChanged
| void matteOuterFilterChanged(
QVector3D
)
|
signal uvOffsetChanged
| void uvOffsetChanged(
QVector2D
)
|
signal innerAlphaChanged
| void innerAlphaChanged(
float
)
|
signal outerAlphaChanged
| void outerAlphaChanged(
float
)
|
signal alphaGainChanged
| void alphaGainChanged(
float
)
|
signal usesNormalMapChanged
| void usesNormalMapChanged(
bool
)
|
signal normalMapChanged
| void normalMapChanged(
Qt3DRender::QAbstractTexture *
)
|
signal normalMapGainChanged
| void normalMapGainChanged(
float
)
|
signal normalScalingChanged
| void normalScalingChanged(
QVector3D
)
|
signal normalDisturbChanged
| void normalDisturbChanged(
QVector2D
)
|
signal postVertexColorChanged
| void postVertexColorChanged(
float
)
|
signal postHemiFilterChanged
| void postHemiFilterChanged(
QVector3D
)
|
signal postGainChanged
| void postGainChanged(
float
)
|
signal gltfYUpChanged
| void gltfYUpChanged(
bool
)
|
Public Functions Documentation
function Iro2MatteAlphaProperties
| explicit Q_INVOKABLE Iro2MatteAlphaProperties(
Qt3DCore::QNode * parent =nullptr
)
|
function ~Iro2MatteAlphaProperties
| ~Iro2MatteAlphaProperties()
|
function shaderData
| virtual Qt3DRender::QShaderData * shaderData() const override
|
Reimplements: Kuesa::Qt3D::GLTF2MaterialProperties::shaderData
function usesMatteMap
| bool usesMatteMap() const
|
function matteMap
| Qt3DRender::QAbstractTexture * matteMap() const
|
function matteGain
function matteInnerFilter
| QVector3D matteInnerFilter() const
|
function matteOuterFilter
| QVector3D matteOuterFilter() const
|
function uvOffset
| QVector2D uvOffset() const
|
function innerAlpha
function outerAlpha
function alphaGain
function usesNormalMap
| bool usesNormalMap() const
|
function normalMap
| Qt3DRender::QAbstractTexture * normalMap() const
|
function normalMapGain
| float normalMapGain() const
|
function normalScaling
| QVector3D normalScaling() const
|
function normalDisturb
| QVector2D normalDisturb() const
|
function postVertexColor
| float postVertexColor() const
|
function postHemiFilter
| QVector3D postHemiFilter() const
|
function postGain
function gltfYUp
Public Property Documentation
property usesMatteMap
Specifies whether we use a matte map or not.
property matteMap
| Qt3DRender::QAbstractTexture * matteMap;
|
property matteGain
Specifies the gain to apply to the matte color.
property matteInnerFilter
| QVector3D matteInnerFilter;
|
Specifies the inner color filter to be applied based on fresnel on the matte map lookup.
property matteOuterFilter
| QVector3D matteOuterFilter;
|
Specifies the outer color filter to be applied based on fresnel on the matte map lookup.
property uvOffset
Applies an offset to texture lookup.
property innerAlpha
Specifies the inner alpha factor to be applied.
property outerAlpha
Specifies the outer alpha factor to be applied.
property alphaGain
Specifies the overall gain factor to apply to the alpha channel.
property usesNormalMap
Specifies whether we use a normal map or not.
property normalMap
| Qt3DRender::QAbstractTexture * normalMap;
|
property normalMapGain
Specifies the strength of the normal map.
property normalScaling
Specifies a factor to be applied to the normal.
property normalDisturb
Specifies a disturbance factor that will be added to the normal
property postVertexColor
Specifies the factor which controls how much of the per vertex color we want to transmit.
property postHemiFilter
| QVector3D postHemiFilter;
|
Specifies the color to be applied to the lower hemisphere. It is multiplied like a negative diffuse light coming from below.
property postGain
Specifies the gain factor to be applied to the final result.
property gltfYUp
Specifies whether this material should consider the Y and Z axis as being inverted.
Updated on 2023-07-03 at 11:02:12 +0000