List of all members.
Public Types |
typedef boost::shared_ptr
< Material > | MaterialPtr |
Constructor & Destructor Documentation
Material::Material |
( |
glm::vec4 |
emissive, |
|
|
glm::vec4 |
ambient, |
|
|
glm::vec4 |
diffuse, |
|
|
glm::vec4 |
specular, |
|
|
float |
shininess |
|
) |
| |
Constructor
- Parameters:
-
emissive | emissive value |
ambient | ambient value |
diffuse | diffuse value |
specular | specular value |
shininess | shininess value |
Member Function Documentation
glm::vec4 Material::GetAmbient |
( |
| ) |
|
This method returns the ambient value of the material
- Returns:
- ambient value
glm::vec4 Material::GetDiffuse |
( |
| ) |
|
This method returns the diffuse value of the material
- Returns:
- diffuse value
glm::vec4 Material::GetEmissive |
( |
| ) |
|
This method returns the emissive value of the material
- Returns:
- emissive value
float Material::GetShininess |
( |
| ) |
|
This method returns the shininess value of the material
- Returns:
- shininess value
glm::vec4 Material::GetSpecular |
( |
| ) |
|
This method returns the specular value of the material
- Returns:
- specular value
void Material::SetAmbient |
( |
glm::vec4 |
ambient | ) |
|
This method sets the ambinet value
- Parameters:
-
void Material::SetDiffuse |
( |
glm::vec4 |
diffuse | ) |
|
This method sets the diffuse value
- Parameters:
-
void Material::SetEmissive |
( |
glm::vec4 |
emissive | ) |
|
This method sets the emissive value
- Parameters:
-
void Material::SetShininess |
( |
float |
shininess | ) |
|
This method sets the shininess value
- Parameters:
-
void Material::SetSpecular |
( |
glm::vec4 |
specular | ) |
|
This method sets the specular value
- Parameters:
-
The documentation for this class was generated from the following files: