CBeam: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
== Overview ==
== Overview ==
...
The base class for entities which represent beam effects. (Particularly [[CEnvBeam]] and [[CEnvLaser]])


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/beam_shared.h /game/shared/beam_shared.h]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/beam_shared.h /game/shared/beam_shared.h]'''

Latest revision as of 22:20, 29 July 2022

Overview[edit | edit source]

The base class for entities which represent beam effects. (Particularly CEnvBeam and CEnvLaser)

Source location : /game/shared/beam_shared.h

Linked Entity : beam

Class Structure[edit | edit source]

SendProps[edit | edit source]

CBeam
Name Type Description
m_nBeamType Integer
m_nBeamFlags Integer
m_nNumBeamEnts Integer
m_hAttachEntity
000 Integer
001 Integer
002 Integer
003 Integer
004 Integer
005 Integer
006 Integer
007 Integer
008 Integer
009 Integer
m_nAttachIndex
000 Integer
001 Integer
002 Integer
003 Integer
004 Integer
005 Integer
006 Integer
007 Integer
008 Integer
009 Integer
m_nHaloIndex Integer
m_fHaloScale Float
m_fWidth Float
m_fEndWidth Float
m_fFadeLength Float
m_fAmplitude Float
m_fStartFrame Float
m_fSpeed Float
m_nRenderFX Integer
m_nRenderMode Integer
m_flFrameRate Float
m_flHDRColorScale Float
m_flFrame Float
m_clrRender Integer
m_vecEndPos Vector
m_nModelIndex Integer
m_vecOrigin Vector
moveparent Integer
m_nMinDXLevel Integer
beampredictable_id
m_PredictableID Integer
m_bIsPlayerSimulated Boolean

Entity DataMaps[edit | edit source]

CBeam
Name Type Description
InputColorBlueValue
InputColorGreenValue
InputColorRedValue
InputNoise
InputWidth
m_fAmplitude
m_fEndWidth
m_fFadeLength
m_fHaloScale
m_fSpeed
m_fStartFrame
m_fWidth
m_flDamage
m_flFireTime
m_flFrame
m_flFrameRate
m_flHDRColorScale
m_hAttachEntity
m_hEndEntity
m_nAttachIndex
m_nBeamFlags
m_nBeamType
m_nDissolveType
m_nHaloIndex
m_nMinDXLevel
m_nNumBeamEnts
m_vecEndPos