CPointSpotlight: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created page with "== Overview == ... '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/point_spotlight.cpp /game/server/point_spotlight.cpp]'''...")
 
No edit summary
 
Line 10: Line 10:
**'''[[CPointEntity]]'''
**'''[[CPointEntity]]'''
***'''CPointSpotlight'''
***'''CPointSpotlight'''
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CPointSpotlight
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''CPointSpotlightSpotlightThink'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputLightOff'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputLightOn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnOff'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnOn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bEfficientSpotlight'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bIgnoreSolid'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bSpotlightOn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flHDRColorScale'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flSpotlightCurLength'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flSpotlightGoalWidth'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flSpotlightMaxLength'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nHaloSprite'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nMinDXLevel'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vSpotlightCurrentPos'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vSpotlightDir'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vSpotlightTargetPos'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 23:56, 27 March 2022

Overview[edit | edit source]

...

Source location : /game/server/point_spotlight.cpp

Linked Entity : point_spotlight

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CPointSpotlight
Name Type Description
CPointSpotlightSpotlightThink
InputLightOff
InputLightOn
m_OnOff
m_OnOn
m_bEfficientSpotlight
m_bIgnoreSolid
m_bSpotlightOn
m_flHDRColorScale
m_flSpotlightCurLength
m_flSpotlightGoalWidth
m_flSpotlightMaxLength
m_nHaloSprite
m_nMinDXLevel
m_vSpotlightCurrentPos
m_vSpotlightDir
m_vSpotlightTargetPos