Kuesa::Qt3D::UnlitEffect¶
Module: Kuesa Qt 3D API
Kuesa::Qt3D::UnlitEffect is a Qt3DRender::QEffect for Kuesa::Qt3D::UnlitMaterial. It provides several properties used to configure the material effect. This is done using a custom shader graph and activating/deactivating different set of nodes of the graph depending on the effect configuration. More...
#include <Kuesa/Qt3D/api/materials/unliteffect.h>
Inherits from Kuesa::Qt3D::GLTF2MaterialEffect, Qt3DRender::QEffect
Public Slots¶
| Name | |
|---|---|
| void | setBaseColorMapEnabled(bool enabled) | 
Public Signals¶
| Name | |
|---|---|
| void | baseColorMapEnabledChanged(bool enabled) | 
Public Functions¶
| Name | |
|---|---|
| UnlitEffect(Qt3DCore::QNode * parent =nullptr) | |
| ~UnlitEffect() | |
| bool | isBaseColorMapEnabled() const | 
Public Properties¶
| Name | |
|---|---|
| bool | baseColorMapEnabled | 
Additional inherited members¶
Public Slots inherited from Kuesa::Qt3D::GLTF2MaterialEffect
| Name | |
|---|---|
| void | setDoubleSided(bool doubleSided) | 
| void | setUsingSkinning(bool useSkinning) | 
| void | setOpaque(bool opaque) | 
| void | setAlphaCutoffEnabled(bool enabled) | 
| void | setUsingColorAttribute(bool usingColorAttribute) | 
| void | setUsingNormalAttribute(bool usingNormalAttribute) | 
| void | setUsingTangentAttribute(bool usingTangentAttribute) | 
| void | setUsingTexCoordAttribute(bool usingTexCoordAttribute) | 
| void | setUsingTexCoord1Attribute(bool usingTexCoord1Attribute) | 
| void | setUsingMorphTargets(bool usingMorphTargets) | 
| void | setInstanced(bool instanced) | 
| void | setSRGBOutput(bool sRGBOutput) | 
Public Signals inherited from Kuesa::Qt3D::GLTF2MaterialEffect
| Name | |
|---|---|
| void | doubleSidedChanged(bool doubleSided) | 
| void | usingSkinningChanged(bool useSkinning) | 
| void | opaqueChanged(bool opaque) | 
| void | alphaCutoffEnabledChanged(bool enabled) | 
| void | usingColorAttributeChanged(bool usingColorAttribute) | 
| void | usingNormalAttributeChanged(bool usingNormalAttribute) | 
| void | usingTangentAttributeChanged(bool usingTangentAttribute) | 
| void | usingTexCoordAttributeChanged(bool usingTexCoordAttribute) | 
| void | usingTexCoord1AttributeChanged(bool usingTexCoord1Attribute) | 
| void | usingMorphTargetsChanged(bool usingMorphTargets) | 
| void | instancedChanged(bool instanced) | 
| void | sRGBOutputChanged(bool sRGBOutput) | 
Public Functions inherited from Kuesa::Qt3D::GLTF2MaterialEffect
| Name | |
|---|---|
| GLTF2MaterialEffect(Qt3DCore::QNode * parent =nullptr) | |
| ~GLTF2MaterialEffect() | |
| bool | isDoubleSided() const | 
| bool | isUsingSkinning() const | 
| bool | isOpaque() const | 
| bool | isAlphaCutoffEnabled() const | 
| bool | isUsingColorAttribute() const | 
| bool | isUsingNormalAttribute() const | 
| bool | isUsingTangentAttribute() const | 
| bool | isUsingTexCoordAttribute() const | 
| bool | isUsingTexCoord1Attribute() const | 
| bool | isUsingMorphTargets() const | 
| bool | isInstanced() const | 
| bool | sRGBOutput() const | 
Protected Functions inherited from Kuesa::Qt3D::GLTF2MaterialEffect
| Name | |
|---|---|
| virtual void | updateUsingCubeMapArrays(bool usingCubeMapArrays) | 
| virtual void | updateSRGBOutput(bool sRGBOutput) | 
Public Properties inherited from Kuesa::Qt3D::GLTF2MaterialEffect
| Name | |
|---|---|
| bool | doubleSided | 
| bool | usingSkinning | 
| bool | opaque | 
| bool | alphaCutoffEnabled | 
| bool | usingColorAttribute | 
| bool | usingNormalAttribute | 
| bool | usingTangentAttribute | 
| bool | usingTexCoordAttribute | 
| bool | usingTexCoord1Attribute | 
| bool | usingMorphTargets | 
| bool | instanced | 
| bool | sRGBOutput | 
Detailed Description¶
1 |  | 
Kuesa::Qt3D::UnlitEffect is a Qt3DRender::QEffect for Kuesa::Qt3D::UnlitMaterial. It provides several properties used to configure the material effect. This is done using a custom shader graph and activating/deactivating different set of nodes of the graph depending on the effect configuration.
Since: Kuesa 2.0
Note: Kuesa::Qt3D::UnlitEffect is used to configure the effect for a material, but property values must be provided through Kuesa::Qt3D::UnlitMaterial. Therefore, this effect must be added to a Kuesa.UnlitMaterial.
Public Slots Documentation¶
slot setBaseColorMapEnabled¶
1 2 3  |  | 
Public Signals Documentation¶
signal baseColorMapEnabledChanged¶
1 2 3  |  | 
Public Functions Documentation¶
function UnlitEffect¶
1 2 3  |  | 
function ~UnlitEffect¶
1 |  | 
function isBaseColorMapEnabled¶
1 |  | 
Public Property Documentation¶
property baseColorMapEnabled¶
1 |  | 
Updated on 2023-07-03 at 11:02:09 +0000