5#ifndef __S_LIGHT_H_INCLUDED__
6#define __S_LIGHT_H_INCLUDED__
Class representing a color with four floats.
Definition SColor.h:542
vector3d< f32 > vector3df
Typedef for a f32 3d vector.
Definition vector3d.h:445
The video namespace contains classes for accessing the video driver. All 2d and 3d rendering is done ...
Definition EDriverFeatures.h:11
const c8 *const LightTypeNames[]
Names for light types.
Definition SLight.h:30
E_LIGHT_TYPE
Enumeration for different types of lights.
Definition SLight.h:17
@ ELT_POINT
point light, it has a position in space and radiates light in all directions
Definition SLight.h:19
@ ELT_DIRECTIONAL
directional light, coming from a direction from an infinite distance
Definition SLight.h:23
@ ELT_SPOT
spot light, it has a position in space, a direction, and a limited cone of influence
Definition SLight.h:21
@ ELT_COUNT
Only used for counting the elements of this enum.
Definition SLight.h:26
Everything in the Irrlicht Engine can be found in this namespace.
Definition Skylicht.h:33
float f32
32 bit floating point variable.
Definition irrTypes.h:104
char c8
8 bit character variable.
Definition irrTypes.h:31
core::vector3df Attenuation
Attenuation factors (constant, linear, quadratic).
Definition SLight.h:65
SColorf AmbientColor
Ambient color emitted by the light.
Definition SLight.h:51
SColorf DiffuseColor
Diffuse color emitted by the light.
Definition SLight.h:55
core::vector3df Direction
Read-ONLY! Direction of the light.
Definition SLight.h:82
SColorf SpecularColor
Specular color emitted by the light.
Definition SLight.h:59
f32 Falloff
The light strength's decrease between Outer and Inner cone.
Definition SLight.h:74
f32 OuterCone
The angle of the spot's outer cone. Ignored for other lights.
Definition SLight.h:68
f32 Radius
Read-ONLY! Radius of light. Everything within this radius will be lighted.
Definition SLight.h:85
f32 InnerCone
The angle of the spot's inner cone. Ignored for other lights.
Definition SLight.h:71
E_LIGHT_TYPE Type
Read-ONLY! Type of the light. Default: ELT_POINT.
Definition SLight.h:88
core::vector3df Position
Read-ONLY! Position of the light.
Definition SLight.h:78
bool CastShadows
Read-ONLY! Does the light cast shadows?
Definition SLight.h:91