57 inline const string&
getId()
const {
void setSpecularMaterialProperties(SpecularMaterialProperties *specularMaterialProperties)
Set specular material properties.
void setPBRMaterialProperties(PBRMaterialProperties *pbrMaterialProperties)
Set PBR material properties.
static Material * getDefaultMaterial()
static STATIC_DLL_IMPEXT string defaultMaterialId
SpecularMaterialProperties * specularMaterialProperties
const string & getId() const
const PBRMaterialProperties * getPBRMaterialProperties() const
Material(const string &id)
Public constructor.
bool isDoubleSided() const
void setTextureMatrix(const Matrix2D3x3 &textureMatrix)
Set texture matrix.
const SpecularMaterialProperties * getSpecularMaterialProperties() const
void setDoubleSided(bool doubleSided)
Set double sided.
Matrix2D3x3 textureMatrix
static STATIC_DLL_IMPEXT Material * defaultMaterial
const Matrix2D3x3 & getTextureMatrix() const
PBRMaterialProperties * pbrMaterialProperties
PBRMaterialProperties * getPBRMaterialProperties()
SpecularMaterialProperties * getSpecularMaterialProperties()
Represents specular material properties.
Represents specular material properties.
#define STATIC_DLL_IMPEXT