CDynamicLight: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
A lighting entity similar to the [https://developer.valvesoftware.com/wiki/Light light] entity that can be controlled dynamically in real time within the game world.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/dynamiclight.cpp /game/server/dynamiclight.cpp]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/dynamiclight.cpp /game/server/dynamiclight.cpp]'''

Latest revision as of 01:42, 22 August 2022

Overview[edit | edit source]

A lighting entity similar to the light entity that can be controlled dynamically in real time within the game world.

Source location : /game/server/dynamiclight.cpp

Linked Entity : light_dynamic

Class Structure[edit | edit source]

SendProps[edit | edit source]

CDynamicLight
Name Type Description
m_Flags Integer
m_LightStyle Integer
m_Radius Float
m_Exponent Integer
m_InnerAngle Float
m_OuterAngle Float
m_SpotRadius Float

Entity DataMaps[edit | edit source]

CDynamicLight
Name Type Description
CDynamicLightDynamicLightThink
InputToggle
InputTurnOff
InputTurnOn
m_ActualFlags
m_Exponent
m_Flags
m_InnerAngle
m_LightStyle
m_On
m_OuterAngle
m_Radius
m_SpotRadius