DynamicLight
Description
Structure for DynamicLight. All members are case insensitive.
This is an actual class named dlight_t, not a table.
Parameters
number brightness
The brightness of the light.
number decay
Fade out speed.
Here's a formula for calculating Decay for your light: 1000 / fadeOutTimeInSeconds. For example setting decay to 1000 would fade out the light in 1 second, 2000 - 0.5 seconds.
number dietime
Vector dir
The light direction. Used with InnerAngle and OuterAngle.
Default: Vector( 0, 0, 0 )
number innerangle
The closer this is to zero, the smoother the light will be. Requires Dir and OuterAngle to be set.
Default: 0
number outerangle
The angle of the Dynamic Light. Requires Dir to be set.
Default: 0
number key
Makes the light brighter and flicker? Changing the value does not seem to affect anything.
number minlight
Minimum light
Default: 0
boolean noworld
Don't light the world. Has no effect for elights since they never light the world.
Default: false
boolean nomodel
Don't light models
Default: false
Vector pos
Position of the light
number size
Radius of the light
number b
The blue part of the color
number g
The green part of the color
number r
The red part of the color