Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials |
structure for holding data describing a dynamic point light. More...
#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 will be lighted. | |
SColorf | SpecularColor |
Specular color emitted by the light. | |
E_LIGHT_TYPE | Type |
Read-ONLY! Type of the light. Default: ELT_POINT. |
structure for holding data describing a dynamic point light.
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-2010 by Nikolaus Gebhardt. Generated
on Sun Oct 24 12:42:10 2010 by Doxygen
(1.6.2) |