Entity systemClasses

CBeam

Schema class CBeam, derived from CBaseModelEntity.

Generated from the game's schema. Header: source2mod/schema/entity/classes/CBeam.h

Inherits CBaseModelEntity

Fields

FieldType
m_flFrameRatefloat
m_flHDRColorScalefloat
m_flFireTimefloat
m_flDamagefloat
m_nNumBeamEntsuint8_t
m_hBaseMaterialCStrongHandle<InfoForResourceTypeIMaterial2>
m_nHaloIndexCStrongHandle<InfoForResourceTypeIMaterial2>
m_nBeamTypeBeamType_t
m_nBeamFlagsuint32_t
m_hAttachEntityCHandle<CBaseEntity>
m_fWidthfloat
m_fEndWidthfloat
m_fFadeLengthfloat
m_fHaloScalefloat
m_fAmplitudefloat
m_fStartFramefloat
m_fSpeedfloat
m_flFramefloat
m_bTurnedOffbool
m_vecEndPosVector
m_hEndEntityCHandle<CBaseEntity>
m_nDissolveTypeint32_t

Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).

On this page