Kuesa::Qt3D::Iro2DiffuseSemProperties
Module: Kuesa Qt 3D API
Kuesa::Qt3D::Iro2DiffuseSemProperties holds the properties controlling the visual appearance of a Iro2DiffuseSemMaterial instance. More...
#include <iro2diffusesemproperties.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::Iro2DiffuseSemProperties;
|
Kuesa::Qt3D::Iro2DiffuseSemProperties holds the properties controlling the visual appearance of a Iro2DiffuseSemMaterial instance.
Since: Kuesa 2.0
Public Slots Documentation
slot setUsesDiffuseMap
| void setUsesDiffuseMap(
bool usesDiffuseMap
)
|
slot setDiffuseMap
| void setDiffuseMap(
Qt3DRender::QAbstractTexture * diffuseMap
)
|
slot setDiffuseGain
| void setDiffuseGain(
float diffuseGain
)
|
slot setDiffuseInnerFilter
| void setDiffuseInnerFilter(
const QVector3D & diffuseInnerFilter
)
|
slot setDiffuseOuterFilter
| void setDiffuseOuterFilter(
const QVector3D & diffuseOuterFilter
)
|
slot setUsesReflectionMap
| void setUsesReflectionMap(
bool usesReflectionMap
)
|
slot setReflectionMap
| void setReflectionMap(
Qt3DRender::QAbstractTexture * reflectionMap
)
|
slot setReflectionGain
| void setReflectionGain(
float reflectionGain
)
|
slot setReflectionInnerFilter
| void setReflectionInnerFilter(
const QVector3D & reflectionInnerFilter
)
|
slot setReflectionOuterFilter
| void setReflectionOuterFilter(
const QVector3D & reflectionOuterFilter
)
|
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 usesDiffuseMapChanged
| void usesDiffuseMapChanged(
bool
)
|
signal diffuseMapChanged
| void diffuseMapChanged(
Qt3DRender::QAbstractTexture *
)
|
signal diffuseGainChanged
| void diffuseGainChanged(
float
)
|
signal diffuseInnerFilterChanged
| void diffuseInnerFilterChanged(
QVector3D
)
|
signal diffuseOuterFilterChanged
| void diffuseOuterFilterChanged(
QVector3D
)
|
signal usesReflectionMapChanged
| void usesReflectionMapChanged(
bool
)
|
signal reflectionMapChanged
| void reflectionMapChanged(
Qt3DRender::QAbstractTexture *
)
|
signal reflectionGainChanged
| void reflectionGainChanged(
float
)
|
signal reflectionInnerFilterChanged
| void reflectionInnerFilterChanged(
QVector3D
)
|
signal reflectionOuterFilterChanged
| void reflectionOuterFilterChanged(
QVector3D
)
|
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 Iro2DiffuseSemProperties
| explicit Q_INVOKABLE Iro2DiffuseSemProperties(
Qt3DCore::QNode * parent =nullptr
)
|
function ~Iro2DiffuseSemProperties
| ~Iro2DiffuseSemProperties()
|
function shaderData
| virtual Qt3DRender::QShaderData * shaderData() const override
|
Reimplements: Kuesa::Qt3D::GLTF2MaterialProperties::shaderData
function usesDiffuseMap
| bool usesDiffuseMap() const
|
function diffuseMap
| Qt3DRender::QAbstractTexture * diffuseMap() const
|
function diffuseGain
| float diffuseGain() const
|
function diffuseInnerFilter
| QVector3D diffuseInnerFilter() const
|
function diffuseOuterFilter
| QVector3D diffuseOuterFilter() const
|
function usesReflectionMap
| bool usesReflectionMap() const
|
function reflectionMap
| Qt3DRender::QAbstractTexture * reflectionMap() const
|
function reflectionGain
| float reflectionGain() const
|
function reflectionInnerFilter
| QVector3D reflectionInnerFilter() const
|
function reflectionOuterFilter
| QVector3D reflectionOuterFilter() const
|
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 usesDiffuseMap
Specifies whether we use a diffuse map or not.
property diffuseMap
| Qt3DRender::QAbstractTexture * diffuseMap;
|
property diffuseGain
Specifies the gain to apply to the diffuse color.
property diffuseInnerFilter
| QVector3D diffuseInnerFilter;
|
Specifies the inner color filter to be applied based on fresnel on the diffuse map lookup.
property diffuseOuterFilter
| QVector3D diffuseOuterFilter;
|
Specifies the outer color filter to be applied based on fresnel on the diffuse map lookup.
property usesReflectionMap
Specifies whether we use a reflection map or not.
property reflectionMap
| Qt3DRender::QAbstractTexture * reflectionMap;
|
property reflectionGain
Specifies the gain factor to be applied to the spherical environment map lookup.
property reflectionInnerFilter
| QVector3D reflectionInnerFilter;
|
Specifies the inner color filter to be applied based on fresnel on the spherical environment map lookup.
property reflectionOuterFilter
| QVector3D reflectionOuterFilter;
|
Specifies the outer color filter to be applied based on fresnel on the spherical environment map lookup.
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:10 +0000