Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials |
#include <SLight.h>
Public Member Functions | |
SLight () | |
Public Attributes | |
SColorf | AmbientColor |
Ambient color emitted by the light. | |
core::vector3df | Attenuation |
Attenuation factors (constant, linear, quadratic). | |
bool | CastShadows:1 |
Read-ONLY! Does the light cast shadows? | |
SColorf | DiffuseColor |
Diffuse color emitted by the light. | |
core::vector3df | Direction |
Read-ONLY! Direction of the light. | |
f32 | Falloff |
The light strength's decrease between Outer and Inner cone. | |
f32 | InnerCone |
The angle of the spot's inner cone. Ignored for other lights. | |
f32 | OuterCone |
The angle of the spot's outer cone. Ignored for other lights. | |
core::vector3df | Position |
Read-ONLY! Position of the light. | |
f32 | Radius |
Read-ONLY! Radius of light. Everything within this radius be be lighted. | |
SColorf | SpecularColor |
Specular color emitted by the light. | |
E_LIGHT_TYPE | Type |
Read-ONLY! Type of the light. Default: ELT_POINT. |
Irrlicht supports point lights, spot lights, and directional lights.
Definition at line 38 of file SLight.h.
Specular color emitted by the light.
For details how to use specular highlights, see SMaterial::Shininess
The Irrlicht
Engine Documentation © 2003-2009 by Nikolaus Gebhardt. Generated
on Sun Jan 10 09:24:20 2010 by Doxygen
(1.5.6) |