Atoms Crowd
7.0.0
|
Variation Material. More...
#include <Variations.h>
Public Member Functions | |
VariationMaterial () | |
Constructor. | |
~VariationMaterial () | |
Destructor. | |
const std::string & | getMaterialFile () const |
Gets the material file path. | |
void | setMaterialFile (const std::string &materialFile) |
Sets 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 | 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 VariationMaterialColor & | getDiffuseColor (unsigned int index=0) const |
Gets the diffuse color. | |
VariationMaterialColor & | getDiffuseColor (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. | |
VariationMaterialColor & | getSpecularColor () |
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. | |
const std::string & | getDiffuseHueMetadataName () const |
Gets the diffuse hue metadata name. | |
void | setDiffuseHueMetadataName (const std::string &value) |
Sets the diffuse hue metadata name. | |
const std::string & | getDiffuseSlotMetadataName () const |
Gets the diffuse slot metadata name. | |
void | setDiffuseSlotMetadataName (const std::string &value) |
Sets the diffuse slot metadata name. | |
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. | |
Variation Material.