CSun: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created blank page)
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
...


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/sun.cpp /game/server/sun.cpp]'''
'''Linked Entity : [https://developer.valvesoftware.com/wiki/env_sun env_sun]'''
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
**'''CSun'''
== SendProps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CSun
! 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%;" |'''m_clrRender'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_clrOverlay'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vDirection'''
| style="width: 15%;" |Vector
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bOn'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nSize'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nOverlaySize'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nMaterial'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nOverlayMaterial'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''HDRColorScale'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CSun
! 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%;" |'''InputSetColor'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputTurnOff'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputTurnOn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bOn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bUseAngles'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_clrOverlay'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flHDRColorScale'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flPitch'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flYaw'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nOverlaySize'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nSize'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_strMaterial'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_strOverlayMaterial'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vDirection'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 17:51, 24 March 2022

Overview[edit | edit source]

...

Source location : /game/server/sun.cpp

Linked Entity : env_sun

Class Structure[edit | edit source]

SendProps[edit | edit source]

CSun
Name Type Description
m_clrRender Integer
m_clrOverlay Integer
m_vDirection Vector
m_bOn Boolean
m_nSize Integer
m_nOverlaySize Integer
m_nMaterial Integer
m_nOverlayMaterial Integer
HDRColorScale Float

Entity DataMaps[edit | edit source]

CSun
Name Type Description
InputSetColor
InputTurnOff
InputTurnOn
m_bOn
m_bUseAngles
m_clrOverlay
m_flHDRColorScale
m_flPitch
m_flYaw
m_nOverlaySize
m_nSize
m_strMaterial
m_strOverlayMaterial
m_vDirection