CBeam

From SigMod
Revision as of 22:20, 29 July 2022 by Mince (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

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

SendProps

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

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