5 #ifndef __S_LIGHT_H_INCLUDED__ 6 #define __S_LIGHT_H_INCLUDED__ f32 Falloff
The light strength's decrease between Outer and Inner cone. Only for spot lights.
spot light, it has a position in space, a direction, and a limited cone of influence
SColorf AmbientColor
Ambient color emitted by the light.
float f32
32 bit floating point variable.
char c8
8 bit character variable.
core::vector3df Direction
Read-ONLY! Direction of the light.
Everything in the Irrlicht Engine can be found in this namespace.
f32 OuterCone
The angle of the spot's outer cone. Ignored for other lights.
point light, it has a position in space and radiates light in all directions
structure for holding data describing a dynamic point light.
E_LIGHT_TYPE
Enumeration for different types of lights.
E_LIGHT_TYPE Type
Read-ONLY! Type of the light. Default: ELT_POINT.
f32 Radius
Read-ONLY! Radius of light. Everything within this radius will be lighted.
const c8 *const LightTypeNames[]
Names for light types.
SColorf DiffuseColor
Diffuse color emitted by the light.
SColorf SpecularColor
Specular color emitted by the light.
f32 InnerCone
The angle of the spot's inner cone. Ignored for other lights.
Only used for counting the elements of this enum.
core::vector3df Position
Read-ONLY! Position of the light.
core::vector3df Attenuation
Attenuation factors (constant, linear, quadratic)
directional light, coming from a direction from an infinite distance
Class representing a color with four floats.
bool CastShadows
Read-ONLY! Does the light cast shadows?