CBaseFlex: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Baseflex.cpp)
(-added clientside class hierarchy)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{CD|CBaseFlex|base=CBaseAnimatingOverlay|file1=[https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/server/baseflex.cpp baseflex.cpp]}}
{{CD|CBaseFlex|base=CBaseAnimatingOverlay|file1=1}}
{{CD|C_BaseFlex|base=C_BaseAnimatingOverlay|client=1|file1=1}}
'''Purpose:''' CBaseFlex contains and manages data for a model's [[flex controller]]s. The data is not modified, therefore does not take bandwidth for NPCs without faces (i.e. [[npc_combine_s|Combine Soldiers]]).
'''Purpose:''' CBaseFlex contains and manages data for a model's [[flex controller]]s. The data is not modified, therefore does not take bandwidth for NPCs without faces (i.e. [[npc_combine_s|Combine Soldiers]]).
{{Linked entities|funCBaseFlex}}
== Fields ==
{{DEFINE_ARRAY|m_flexWeight|FIELD_FLOAT|96}} <!-- |MAXSTUDIOFLEXCTRL ), -->
{{DEFINE_FIELD|m_viewtarget|FIELD_POSITION_VECTOR|desc todo}}
{{DEFINE_FIELD|m_flAllowResponsesEndTime|FIELD_TIME|desc todo}}
{{DEFINE_FIELD|m_LocalToGlobal|CUtlRBTree < FS_LocalToGlobal_t , unsigned short >|desc todo}}
{{DEFINE_FIELD|m_flLastFlexAnimationTime|FIELD_TIME|desc todo}}
=== in {{Half-Life 2 series|4}} ===
<!-- //DEFINE_FIELD( m_vecPrevOrigin, FIELD_POSITION_VECTOR ),
//DEFINE_FIELD( m_vecPrevVelocity, FIELD_VECTOR ), -->
{{DEFINE_FIELD|m_vecLean|FIELD_VECTOR}}
{{DEFINE_FIELD|m_vecShift|FIELD_VECTOR}}
== See Also ==
{{See also netprops}}


[[Category:Classes]]
[[Category:Classes]]

Latest revision as of 10:17, 20 March 2025