Garry's Mod Wiki
Description
Structure for DynamicLight. All members are case insensitive.
This is an actual class named dlight_t, not a table.
Members
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 innerangle
The closer this is to zero, the smoother the light will be. Requires Dir and OuterAngle to be set.
Default: 0
number key
Makes the light brighter and flicker? Changing the value does not seem to affect anything.
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...