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