#include <PhxGraphicsEngine.h>
Inheritance diagram for Phx::GraphicsEngine::LightDescription:

Public Member Functions | |
| virtual void | specular (const RgbaColor &specular)=0 |
| Sets the specular light color. | |
| const RgbaColor & | specular (void) const |
| Gets the current specular light color. | |
| virtual void | ambient (const RgbaColor &ambient)=0 |
| Sets the ambient light emission. | |
| const RgbaColor & | ambient (void) const |
| Gets the current ambient light emission. | |
| virtual void | diffuse (const RgbaColor &diffuse)=0 |
| Sets the diffuse light reflectance. | |
| const RgbaColor & | diffuse (void) const |
| Gets the current diffuse reflectance. | |
Protected Member Functions | |
| void | setDiffuse (const RgbaColor &c) |
| void | setAmbient (const RgbaColor &c) |
| void | setSpecular (const RgbaColor &c) |
|
|
Gets the current ambient light emission.
|
|
|
Sets the ambient light emission.
|
|
|
Gets the current diffuse reflectance.
|
|
|
Sets the diffuse light reflectance. The amount of diffuse light reflected from a surface is related to its angle relative to the light source.
|
|
|
Gets the current specular light color.
|
|
|
Sets the specular light color. This is the color of light that will contribute to specular highlights. See MaterialDescription::specular().
|
1.4.2