CTEDynamicLight

From SigMod
Revision as of 02:45, 24 November 2022 by Mince (talk | contribs)
Jump to navigation Jump to search

Overview

A temporary light entity.

Source location : /game/server/te_dynamiclight.cpp

Class Structure

SendProps

CTEDynamicLight
Name Type Description
m_vecOrigin Vector The origin of the light
r Integer The red value
g Integer The green value
b Integer The blue value
exponent Integer The brightness. 1 - 10 is a good range, past around the 20 mark the light begins to cease to function properly.
m_fRadius Float The radius or range in Hammer Units that the light casts
m_fTime Float How long in seconds this light will remain on
m_fDecay Float How fast should this light fade away (does not interact with or consider m_fTime). Specifying a negative value does not make the light "grow"