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
| Field | Type |
|---|---|
m_flFrameRate | float |
m_flHDRColorScale | float |
m_flFireTime | float |
m_flDamage | float |
m_nNumBeamEnts | uint8_t |
m_hBaseMaterial | CStrongHandle<InfoForResourceTypeIMaterial2> |
m_nHaloIndex | CStrongHandle<InfoForResourceTypeIMaterial2> |
m_nBeamType | BeamType_t |
m_nBeamFlags | uint32_t |
m_hAttachEntity | CHandle<CBaseEntity> |
m_fWidth | float |
m_fEndWidth | float |
m_fFadeLength | float |
m_fHaloScale | float |
m_fAmplitude | float |
m_fStartFrame | float |
m_fSpeed | float |
m_flFrame | float |
m_bTurnedOff | bool |
m_vecEndPos | Vector |
m_hEndEntity | CHandle<CBaseEntity> |
m_nDissolveType | int32_t |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).