CSun: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
... | ... | ||
'''Source location : ...''' | '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/sun.cpp /game/server/sun.cpp]''' | ||
'''Linked | '''Linked Entity : [https://developer.valvesoftware.com/wiki/env_sun env_sun]''' | ||
==[[ | ==[[Classes|Class Structure]]== | ||
*'''[[CBaseEntity]]''' | *'''[[CBaseEntity]]''' | ||
**''' | **'''CSun''' | ||
== SendProps == | == SendProps == | ||
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;" | {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | ||
|+CSun | |+CSun | ||
! style="width: 50%; background-color: #303030; color: white" |Name | ! style="width: 50%; background-color: #303030; color: white" |Name | ||
Line 56: | Line 51: | ||
| style="width: 50%;" |'''HDRColorScale''' | | style="width: 50%;" |'''HDRColorScale''' | ||
| style="width: 15%;" |Float | | 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%;" | | | 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]
- CBaseEntity
- CSun
SendProps[edit | edit source]
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]
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 |