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

Public Member Functions | |
| virtual void | specular (const RgbaColor &specular)=0 |
| Sets the specular light color. | |
| virtual RgbaColor | specular (void) const =0 |
| Gets the current specular light color. | |
| virtual void | diffuse (const RgbaColor &diffuse)=0 |
| Sets the diffuse light reflectance. | |
| virtual RgbaColor | diffuse (void) const =0 |
| Gets the current diffuse reflectance. | |
| const String & | name (void) const |
Protected Member Functions | |
| void | setName (const String &name) |
This is a base interface class for the other light source types.
|
|
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.
|
1.4.2