Kuesa::Qt3D::GLTF2Material
Module: Kuesa Qt 3D API
GLTF2Material is a subclass of Qt3DRender::QMaterial which is the base class of all GLTF2 based material subclasses.  More...
#include <Kuesa/Qt3D/api/materials/gltf2material.h>
Inherits from Qt3DRender::QMaterial
Inherited by Kuesa::Qt3D::Iro2AlphaEquiRectMaterial, Kuesa::Qt3D::Iro2AlphaSemMaterial, Kuesa::Qt3D::Iro2DiffuseEquiRectMaterial, Kuesa::Qt3D::Iro2DiffuseSemMaterial, Kuesa::Qt3D::Iro2GlassEquiRectMaterial, Kuesa::Qt3D::Iro2GlassSemMaterial, Kuesa::Qt3D::Iro2MatteAlphaMaterial, Kuesa::Qt3D::Iro2PlanarReflectionEquiRectMaterial, Kuesa::Qt3D::Iro2PlanarReflectionSemMaterial, Kuesa::Qt3D::IroDiffuseAlphaMaterial, Kuesa::Qt3D::IroDiffuseHemiMaterial, Kuesa::Qt3D::IroDiffuseMaterial, Kuesa::Qt3D::IroGlassAddMaterial, Kuesa::Qt3D::IroMatteAddMaterial, Kuesa::Qt3D::IroMatteAlphaMaterial, Kuesa::Qt3D::IroMatteBackgroundMaterial, Kuesa::Qt3D::IroMatteMultMaterial, Kuesa::Qt3D::IroMatteOpaqueMaterial, Kuesa::Qt3D::IroMatteSkyboxMaterial, Kuesa::Qt3D::MetallicRoughnessMaterial, Kuesa::Qt3D::UnlitMaterial
Public Slots
Public Signals
Public Functions
Protected Functions
Public Properties
Protected Attributes
Detailed Description
 | class Kuesa::Qt3D::GLTF2Material;
  | 
 
GLTF2Material is a subclass of Qt3DRender::QMaterial which is the base class of all GLTF2 based material subclasses. 
Since: Kuesa 2.0
We assume a GLTF2 material consists of the following base properties:
- morphController: The MorphTarget controller used to control the weights to interpolate between different morph targers 
 
Public Slots Documentation
slot setMorphController
 | void setMorphController(
    Kuesa::Qt3D::MorphController * morphController
)
  | 
 
slot setSRGBOutput
 | void setSRGBOutput(
    bool sRGBOutput
)
  | 
 
Public Signals Documentation
signal morphControllerChanged
 | void morphControllerChanged(
    Kuesa::Qt3D::MorphController * morphController
)
  | 
 
signal sRGBOutputChanged
 | void sRGBOutputChanged(
    bool sRGBOutput
)
  | 
 
Public Functions Documentation
function ~GLTF2Material
function morphController
 | MorphController * morphController() const
  | 
 
function sRGBOutput
Protected Functions Documentation
function GLTF2Material
 | explicit GLTF2Material(
    Qt3DCore::QNode * parent =nullptr
)
  | 
 
function setShadowMapDepthTexture
 | void setShadowMapDepthTexture(
    Qt3DRender::QAbstractTexture * depthTexture
)
  | 
 
function setShadowMapCubeDepthTexture
 | void setShadowMapCubeDepthTexture(
    Qt3DRender::QAbstractTexture * cubeDepthTexture
)
  | 
 
function updateEffectSRGBOutput
 | void updateEffectSRGBOutput()
  | 
 
Public Property Documentation
property morphController
 | Kuesa::Qt3D::MorphController * morphController;
  | 
 
Since: Kuesa 2.0 
The morph controller instance used to control morph targets weights. This can be null if a material is not used with morph targets.
Protected Attributes Documentation
variable m_morphControllerParameter
 | Qt3DRender::QParameter * m_morphControllerParameter;
  | 
 
variable m_textureTransformParameter
 | Qt3DRender::QParameter * m_textureTransformParameter;
  | 
 
variable m_shadowMapDepthTextureParameter
 | Qt3DRender::QParameter * m_shadowMapDepthTextureParameter;
  | 
 
variable m_shadowMapCubeDepthTextureParameter
 | Qt3DRender::QParameter * m_shadowMapCubeDepthTextureParameter;
  | 
 
variable m_sRGBOutput
Updated on 2023-07-03 at 11:02:09 +0000