CMaterialModifyControl: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created blank page)
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
Modifies VMT properties for an entity based on I/O events.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/MaterialModifyControl.cpp /game/server/MaterialModifyControl.cpp]'''
'''Linked Entity : [https://developer.valvesoftware.com/wiki/material_modify_control material_modify_control]'''
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
**'''CMaterialModifyControl'''
== SendProps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CMaterialModifyControl
! 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_szMaterialName'''
| style="width: 15%;" |String
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_szMaterialVar'''
| style="width: 15%;" |String
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_szMaterialVarValue'''
| style="width: 15%;" |String
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iFrameStart'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iFrameEnd'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bWrap'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFramerate'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bNewAnimCommandsSemaphore'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFloatLerpStartValue'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFloatLerpEndValue'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFloatLerpTransitionTime'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nModifyMode'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CMaterialModifyControl
! 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%;" |'''InputStartAnimSequence'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputStartFloatLerp'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''SetMaterialVar'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''SetMaterialVarToCurrentTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bNewAnimCommandsSemaphore'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bWrap'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFloatLerpEndValue'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFloatLerpStartValue'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFloatLerpTransitionTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFramerate'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iFrameEnd'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iFrameStart'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nModifyMode'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_szMaterialName'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_szMaterialVar'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_szMaterialVarValue'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 15:26, 9 March 2023

Overview[edit | edit source]

Modifies VMT properties for an entity based on I/O events.

Source location : /game/server/MaterialModifyControl.cpp

Linked Entity : material_modify_control

Class Structure[edit | edit source]

SendProps[edit | edit source]

CMaterialModifyControl
Name Type Description
m_szMaterialName String
m_szMaterialVar String
m_szMaterialVarValue String
m_iFrameStart Integer
m_iFrameEnd Integer
m_bWrap Boolean
m_flFramerate Float
m_bNewAnimCommandsSemaphore Boolean
m_flFloatLerpStartValue Float
m_flFloatLerpEndValue Float
m_flFloatLerpTransitionTime Float
m_nModifyMode Integer

Entity DataMaps[edit | edit source]

CMaterialModifyControl
Name Type Description
InputStartAnimSequence
InputStartFloatLerp
SetMaterialVar
SetMaterialVarToCurrentTime
m_bNewAnimCommandsSemaphore
m_bWrap
m_flFloatLerpEndValue
m_flFloatLerpStartValue
m_flFloatLerpTransitionTime
m_flFramerate
m_iFrameEnd
m_iFrameStart
m_nModifyMode
m_szMaterialName
m_szMaterialVar
m_szMaterialVarValue