Kuesa Runtime

GLTF2Material Class

class Kuesa::GLTF2Material

GLTF2Material is a subclass of Qt3DRender::QMaterial which is the base class of all GLTF2 based material subclasses. More...

Header: #include <Kuesa/GLTF2Material>
Since: Kuesa 1.1
Instantiated By: GLTF2Material
Inherited By:

Kuesa::Iro2AlphaEquiRectMaterial, Kuesa::Iro2AlphaSemMaterial, Kuesa::Iro2DiffuseEquiRectMaterial, Kuesa::Iro2DiffuseSemMaterial, Kuesa::Iro2GlassEquiRectMaterial, Kuesa::Iro2GlassSemMaterial, Kuesa::Iro2MatteAlphaMaterial, Kuesa::Iro2PlanarReflectionEquiRectMaterial, Kuesa::Iro2PlanarReflectionSemMaterial, Kuesa::IroDiffuseAlphaMaterial, Kuesa::IroDiffuseHemiMaterial, Kuesa::IroDiffuseMaterial, Kuesa::IroGlassAddMaterial, Kuesa::IroMatteAddMaterial, Kuesa::IroMatteAlphaMaterial, Kuesa::IroMatteBackgroundMaterial, Kuesa::IroMatteMultMaterial, Kuesa::IroMatteOpaqueMaterial, Kuesa::IroMatteSkyboxMaterial, Kuesa::MetallicRoughnessMaterial, and Kuesa::UnlitMaterial

This class was introduced in Kuesa 1.1.

Properties

Public Functions

Kuesa::MorphController *morphController() const

Signals

void morphControllerChanged(Kuesa::MorphController *morphController)

Detailed Description

We assume a GLTF2 material consists of the following base properties:

Property Documentation

morphController : Kuesa::MorphController* const

The morph controller instance used to control morph targets weights. This can be null if a material is not used with morph targets.

This property was introduced in Kuesa 1.1.

Access functions:

Kuesa::MorphController *morphController() const

Notifier signal:

void morphControllerChanged(Kuesa::MorphController *morphController)