Atoms Crowd  4.1.0
Atoms::VariationMaterial Class Reference

Variation Material. More...

#include <Variations.h>

Public Member Functions

 VariationMaterial ()
 Constructor.
 
 ~VariationMaterial ()
 Destructor.
 
const std::string & getMaterialFile () const
 Gets the material file path.
 
void setDiffuseSlotSize (unsigned int size)
 Set diffuse slot size.
 
unsigned int getDiffuseSlotSize () const
 Set diffuse slot size.
 
const std::string & getDiffuseFile (unsigned int index=0) const
 Gets the diffuse texture path.
 
const std::string & getSpecularFile () const
 Gets the specural file path.
 
const std::string & getNormalMapFile () const
 Gets the normal file path.
 
void setMaterialFile (const std::string &materialFile)
 Sets the material file path.
 
void setDiffuseFile (const std::string &diffuseFile, unsigned int index=0)
 Sets the diffuse texture path.
 
void setSpecularFile (const std::string &specularFile)
 Sets the specural file path.
 
void setNormalMapFile (const std::string &normalMapFile)
 Sets the normal file path.
 
const VariationMaterialColorgetDiffuseColor (unsigned int index=0) const
 Gets the diffuse color.
 
VariationMaterialColorgetDiffuseColor (unsigned int index=0)
 
VariationMaterialColorCPtr getDiffuseColorPtr (unsigned int index=0)
 
unsigned int getDiffuseColorRed () const
 Gets the diffuse red value.
 
unsigned int getDiffuseColorGreen () const
 Gets the diffuse green value.
 
unsigned int getDiffuseColorBlue () const
 Gets the diffuse blue value.
 
void setDiffuseColorRed (const int red)
 Sets the diffuse red value.
 
void setDiffuseColorGreen (const int green)
 Sets the diffuse green value.
 
void setDiffuseColorBlue (const int blue)
 Sets the diffuse blue value.
 
VariationMaterialColorgetSpecularColor ()
 Gets the specular color.
 
unsigned int getSpecularColorRed () const
 Gets the specular red value.
 
unsigned int getSpecularColorGreen () const
 Gets the specular green value.
 
unsigned int getSpecularColorBlue () const
 Gets the specular blue value.
 
void setSpecularColorRed (const int red)
 Sets the specular red value.
 
void setSpecularColorGreen (const int green)
 Sets the specular green value.
 
void setSpecularColorBlue (const int blue)
 Sets the specular blue value.
 
float getDiffuseWeight () const
 Gets the diffuse weight.
 
void setDiffuseWeight (float value)
 Sets the diffuse weight.
 
float getSpecularWeight () const
 Gets the specular weight.
 
void setSpecularWeight (float value)
 Sets the specular weight.
 
float getSpecularRollOff () const
 Gets the specular rolloff.
 
void setSpecularRollOff (float value)
 Sets the specular rolloff.
 
float getSpecularEccentricity () const
 Gets the specular eccentricity.
 
void setSpecularEccentricity (float value)
 Sets the specular eccentricity.
 
void hash (AtomsCore::MurmurHash3 &hasher) const
 Hash.
 

Detailed Description

Variation Material.


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