CDynamicLight: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
A lighting entity similar to [ | 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]
- CBaseEntity
- CDynamicLight
SendProps[edit | edit source]
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]
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 |