Description | Hierarchy | Fields | Methods | Properties |
type TLight = record
Structure for holding data describing a dynamic point light.
Irrlicht supports point lights, spot lights, and directional lights.
AmbientColor: TFloatColor; |
DiffuseColor: TFloatColor; |
SpecularColor: TFloatColor; |
Attenuation: TVector3D; |
OuterCone: Single; |
InnerCone: Single; |
Falloff: Single; |
Position: TVector3D; |
Direction: TVector3D; |
Radius: Single; |
LightType: TLightType; |
CastShadows: Boolean; |
AmbientColor: TFloatColor; |
Ambient color emitted by the light. |
DiffuseColor: TFloatColor; |
Diffuse color emitted by the light. |
SpecularColor: TFloatColor; |
Specular color emitted by the light. |
Attenuation: TVector3D; |
|
OuterCone: Single; |
The angle of the spot's outer cone. Ignored for other lights. |
InnerCone: Single; |
The angle of the spot's inner cone. Ignored for other lights. |
Falloff: Single; |
The light strength's decrease between Outer and Inner cone. |
Position: TVector3D; |
Read-ONLY! |
Direction: TVector3D; |
Read-ONLY! |
Radius: Single; |
Read-ONLY! |
LightType: TLightType; |
Read-ONLY! Type of the light. Default: ltPoint. |
CastShadows: Boolean; |
* Read-ONLY! Does the light cast shadows? |