|
arsa
2.7
|
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. More... | |
| SColorf | DiffuseColor |
| Diffuse color emitted by the light. More... | |
| SColorf | SpecularColor |
| Specular color emitted by the light. More... | |
| core::vector3df | Attenuation |
| Attenuation factors (constant, linear, quadratic) More... | |
| f32 | OuterCone |
| The angle of the spot's outer cone. Ignored for other lights. More... | |
| f32 | InnerCone |
| The angle of the spot's inner cone. Ignored for other lights. More... | |
| f32 | Falloff |
| The light strength's decrease between Outer and Inner cone. Only for spot lights. More... | |
| core::vector3df | Position |
| Read-ONLY! Position of the light. More... | |
| core::vector3df | Direction |
| Read-ONLY! Direction of the light. More... | |
| f32 | Radius |
| Read-ONLY! Radius of light. Everything within this radius will be lighted. More... | |
| E_LIGHT_TYPE | Type |
| Read-ONLY! Type of the light. Default: ELT_POINT. More... | |
| bool | CastShadows:1 |
| Read-ONLY! Does the light cast shadows? More... | |
structure for holding data describing a dynamic point light.
Irrlicht supports point lights, spot lights, and directional lights.
|
inline |
Definition at line 43 of file SLight.h.
| SColorf irr::video::SLight::AmbientColor |
| core::vector3df irr::video::SLight::Attenuation |
| bool irr::video::SLight::CastShadows |
| SColorf irr::video::SLight::DiffuseColor |
| core::vector3df irr::video::SLight::Direction |
| f32 irr::video::SLight::Falloff |
| f32 irr::video::SLight::InnerCone |
| f32 irr::video::SLight::OuterCone |
| core::vector3df irr::video::SLight::Position |
| f32 irr::video::SLight::Radius |
| SColorf irr::video::SLight::SpecularColor |
Specular color emitted by the light.
For details how to use specular highlights, see SMaterial::Shininess
| E_LIGHT_TYPE irr::video::SLight::Type |
1.8.15