The MaterialProperties class is used to define a Material or specify the defaults for a View. More...

#include <sc_store.h>

Public Member Functions

bool empty () const
 
 MaterialProperties ()
 
 MaterialProperties (float mirror, float specular, float gloss)
 
bool operator!= (MaterialProperties const &that) const
 
bool operator== (MaterialProperties const &that) const
 

Public Attributes

ImageKeys environment
 
float gloss
 Clamp value with 0 minimum and 1 maximum; value -1 is unset. More...
 
float mirror
 Clamp value with 0 minimum and 1 maximum; value -1 is unset. More...
 
float specular
 Clamp value with 0 minimum and 1 maximum; value -1 is unset. More...
 

Detailed Description

The MaterialProperties class is used to define a Material or specify the defaults for a View.

Constructor & Destructor Documentation

◆ MaterialProperties() [1/2]

SC::Store::MaterialProperties::MaterialProperties ( )

◆ MaterialProperties() [2/2]

SC::Store::MaterialProperties::MaterialProperties ( float  mirror,
float  specular,
float  gloss 
)

Member Function Documentation

◆ empty()

bool SC::Store::MaterialProperties::empty ( ) const

◆ operator!=()

bool SC::Store::MaterialProperties::operator!= ( MaterialProperties const &  that) const

◆ operator==()

bool SC::Store::MaterialProperties::operator== ( MaterialProperties const &  that) const

Member Data Documentation

◆ environment

ImageKeys SC::Store::MaterialProperties::environment

Valid counts are {0,1,6} ImageKeys. None if 0 or 1 [spheremap] or 6 cubemap [negative_z positive_z negative_x positive_x negative_y positive_y]

◆ gloss

float SC::Store::MaterialProperties::gloss

Clamp value with 0 minimum and 1 maximum; value -1 is unset.

◆ mirror

float SC::Store::MaterialProperties::mirror

Clamp value with 0 minimum and 1 maximum; value -1 is unset.

◆ specular

float SC::Store::MaterialProperties::specular

Clamp value with 0 minimum and 1 maximum; value -1 is unset.