Trees | Index | Help |
---|
Module gwy :: Class GLMaterial |
|
GLMaterial
struct contains private data only
and should be accessed using the functions below.
Method Summary | |
---|---|
Gets the ambient reflectance of a GL material. | |
Gets the diffuse reflectance of a GL material. | |
Gets the emission component of a GL material. | |
Gets the shininess value of a GL material. | |
Gets the specular reflectance of a GL material. | |
Resets a GL material to default values. | |
Samples GL material to a provided pixbuf. | |
Sets the ambient reflectance of a GL material. | |
Sets the diffuse reflectance of a GL material. | |
Sets the emission component of a GL material. | |
Sets the shininess value of a GL material. | |
Sets the specular reflectance of a GL material. |
Method Details |
---|
get_ambient()Gets the ambient reflectance of a GL material.
|
get_diffuse()Gets the diffuse reflectance of a GL material.
|
get_emission()Gets the emission component of a GL material.
|
get_shininess()Gets the shininess value of a GL material.
|
get_specular()Gets the specular reflectance of a GL material.
|
reset()Resets a GL material to default values. |
sample_to_pixbuf(pixbuf)Samples GL material to a provided pixbuf.
|
set_ambient(ambient)Sets the ambient reflectance of a GL material.
|
set_diffuse(diffuse)Sets the diffuse reflectance of a GL material.
|
set_emission(emission)Sets the emission component of a GL material.
|
set_shininess(shininess)Sets the shininess value of a GL material.
|
set_specular(specular)Sets the specular reflectance of a GL material.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Dec 30 04:01:42 2008 | http://epydoc.sf.net |