3DCoat  3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gltf::SpecularGlossiness Class Reference

Class of the Specular and Glossiness. More...

#include <gltfConvertMaterial.h>

Public Member Functions

 SpecularGlossiness (const comms::cColor &diffuse_, const comms::cColor &specular_, float opacity_, float shiness_)
 Constructor. More...
 
float specular_intensity () const
 Gets the specular intensity. More...
 
float diffuse_brighness () const
 Gets the diffuse brighness. More...
 
float specular_brighness () const
 Gets the specular brighness. More...
 
float specular_strength () const
 Gets the specular strength. More...
 
float solve_metallic ()
 Solve the metallic. More...
 
float solve_roughness ()
 Solve the roughness. More...
 

Detailed Description

Class of the Specular and Glossiness.

Constructor & Destructor Documentation

gltf::SpecularGlossiness::SpecularGlossiness ( const comms::cColor &  diffuse_,
const comms::cColor &  specular_,
float  opacity_,
float  shiness_ 
)

Constructor.

Parameters
diffuse_diffuse value
specular_specular value
opacity_opacity value
shiness_shiness value

Member Function Documentation

float gltf::SpecularGlossiness::diffuse_brighness ( ) const
inline

Gets the diffuse brighness.

Referenced by solve_metallic().

float gltf::SpecularGlossiness::solve_metallic ( )
float gltf::SpecularGlossiness::solve_roughness ( )

Solve the roughness.

References specular_intensity().

Referenced by gltf::gltfExporter::writeMaterials().

float gltf::SpecularGlossiness::specular_brighness ( ) const
inline

Gets the specular brighness.

Referenced by solve_metallic().

float gltf::SpecularGlossiness::specular_intensity ( ) const
inline

Gets the specular intensity.

Referenced by solve_roughness().

float gltf::SpecularGlossiness::specular_strength ( ) const
inline

Gets the specular strength.

Referenced by solve_metallic().


The documentation for this class was generated from the following files: