CMathColorBlend: Difference between revisions
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/logicentities.cpp /game/server/logicentities.cpp]''' '''...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
Accepts an integer between a min and max value, and uses it in correlation with a min and max color to output a "blended" color. | |||
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/logicentities.cpp /game/server/logicentities.cpp]''' | '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/logicentities.cpp /game/server/logicentities.cpp]''' | ||
Line 11: | Line 11: | ||
***'''[[CLogicalEntity]]''' | ***'''[[CLogicalEntity]]''' | ||
****'''CMathColorBlend''' | ****'''CMathColorBlend''' | ||
== Entity DataMaps == | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; | |||
|+CMathColorBlend | |||
! 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%;" |'''InputValue''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_OutColor1''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_OutColor2''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_OutValue''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flInMax''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flInMin''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|} |
Latest revision as of 17:57, 10 July 2022
Overview[edit | edit source]
Accepts an integer between a min and max value, and uses it in correlation with a min and max color to output a "blended" color.
Source location : /game/server/logicentities.cpp
Linked Entity : math_colorblend
Class Structure[edit | edit source]
- CBaseEntity
- CServerOnlyEntity
- CLogicalEntity
- CMathColorBlend
- CLogicalEntity
- CServerOnlyEntity
Entity DataMaps[edit | edit source]
Name | Type | Description |
---|---|---|
InputValue | ||
m_OutColor1 | ||
m_OutColor2 | ||
m_OutValue | ||
m_flInMax | ||
m_flInMin |