| Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
#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 |
| 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 |
| Radius of light. Everything within this radius be be lighted. | |
| SColorf | SpecularColor |
| Specular color emitted by the light. | |
| E_LIGHT_TYPE | Type |
| Type of the light. Default: ELT_POINT. | |
Irrlicht supports point lights, spot lights, and directional lights.
Definition at line 38 of file SLight.h.
|
|
|
|
|
Ambient color emitted by the light.
|
|
|
Attenuation factors (constant, linear, quadratic). Changes the light strength fading over distance |
|
|
Does the light cast shadows?
|
|
|
Diffuse color emitted by the light. This is the primary color you want to set. |
|
|
Read-ONLY! Direction of the light. If Type is ELT_POINT, it is ignored. Changed via light scene node's rotation. |
|
|
The light strength's decrease between Outer and Inner cone.
|
|
|
The angle of the spot's inner cone. Ignored for other lights.
|
|
|
The angle of the spot's outer cone. Ignored for other lights.
|
|
|
Read-ONLY! Position of the light. If Type is ELT_DIRECTIONAL, it is ignored. Changed via light scene node's position. |
|
|
Radius of light. Everything within this radius be be lighted.
|
|
|
Specular color emitted by the light. For details how to use specular highlights, see SMaterial::Shininess |
|
|
Type of the light. Default: ELT_POINT.
|
| The Irrlicht
Engine Documentation © 2003-2008 by Nikolaus Gebhardt. Generated
on Sun Jun 1 07:59:24 2008 by Doxygen
(1.4.2) |