The small3d library
Public Member Functions | Public Attributes | List of all members
small3d::Material Class Reference

A 3D model material. More...

#include <Material.hpp>

Public Member Functions

 Material ()
 Default constructor.
 
template<class Archive >
void serialize (Archive &archive)
 

Public Attributes

float specularExponent = 0.0f
 
Vec3 ambientColour = Vec3(0.5f)
 
Vec3 diffuseColour = Vec3(0.0f)
 
Vec3 specularColour = Vec3(0.0f)
 
Vec3 emissiveCoefficient = Vec3(0.0f)
 
float optDensIndexRef = 0.0f
 Optical density / index of refraction.
 
float alpha = 1.0f
 

Detailed Description

A 3D model material.


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