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.
irr::video::SLight::SLight | ( | ) | [inline] |
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 Fri Jun 8 2012 15:46:53 by Doxygen
(1.7.6.1) |