| java.lang.Object | |
| ↳ | casmi.graphics.material.Material |
Material class. Wrap JOGL and make it easy to use.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates Material object.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Sets the ambient reflectance for shapes drawn to the screen.
| |||||||||||
Sets the ambient reflectance for shapes drawn to the screen.
| |||||||||||
Sets the ambient reflectance for shapes drawn to the screen.
| |||||||||||
Sets the diffuse color of the materials used for shapes drawn to the screen.
| |||||||||||
Sets the diffuse color of the materials used for shapes drawn to the screen.
| |||||||||||
Sets the diffuse color of the materials used for shapes drawn to the screen.
| |||||||||||
Sets the emissive color of the material used for drawing shapes drawn to the screen.
| |||||||||||
Sets the emissive color of the material used for drawing shapes drawn to the screen.
| |||||||||||
Sets the emissive color of the material used for drawing shapes drawn to the screen.
| |||||||||||
Sets the amount of gloss in the surface of shapes.
| |||||||||||
Sets the specular color of the materials used for shapes drawn to the screen.
| |||||||||||
Sets the specular color of the materials used for shapes drawn to the screen.
| |||||||||||
Sets the specular color of the materials used for shapes drawn to the screen.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates Material object.
Sets the ambient reflectance for shapes drawn to the screen.
| ambient | The ambient reflectance of this Material. |
|---|
Sets the ambient reflectance for shapes drawn to the screen.
| gray | The gray-scale value of the ambient reflectance. |
|---|
Sets the ambient reflectance for shapes drawn to the screen.
| red | The red color of the ambient reflectance. |
|---|---|
| green | The green color of the ambient reflectance. |
| blue | The blue color of the ambient reflectance. |
Sets the diffuse color of the materials used for shapes drawn to the screen.
| diffuse | The diffuse color of the materials |
|---|
Sets the diffuse color of the materials used for shapes drawn to the screen.
| red | The red color of the diffuse. |
|---|---|
| green | The green color of the diffuse. |
| blue | The blue color of the diffuse. |
Sets the diffuse color of the materials used for shapes drawn to the screen.
| gray | The gray-scale value scale of the diffuse. |
|---|
Sets the emissive color of the material used for drawing shapes drawn to the screen.
| red | The red color of the emissive. |
|---|---|
| green | The green color of the emissive. |
| blue | The blue color of the emissive. |
Sets the emissive color of the material used for drawing shapes drawn to the screen.
| emissive | The emissive color of the Material. |
|---|
Sets the emissive color of the material used for drawing shapes drawn to the screen.
| gray | The gray-scale value of the emissive. |
|---|
Sets the amount of gloss in the surface of shapes.
| shininess | The amount of gloss in the surface of shapes of this Material. |
|---|
Sets the specular color of the materials used for shapes drawn to the screen.
| specular | The specular color of the Material. |
|---|
Sets the specular color of the materials used for shapes drawn to the screen.
| red | The red color of the specular. |
|---|---|
| green | The green color of the specular. |
| blue | The blue color of the specular. |
Sets the specular color of the materials used for shapes drawn to the screen.
| gray | The gray-scale value of the specular. |
|---|