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 [light https://developer.valvesoftware.com/wiki/Light] 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]''' |
Revision as of 01:42, 22 August 2022
Overview
A lighting entity similar to [light https://developer.valvesoftware.com/wiki/Light] that can be controlled dynamically in real time within the game world.
Source location : /game/server/dynamiclight.cpp
Linked Entity : light_dynamic
Class Structure
- CBaseEntity
- CDynamicLight
SendProps
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
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 |