CBeam: Difference between revisions
		
		
		
		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
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
- CBaseEntity
- CBeam
 
SendProps
| Name | Type | Description | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| m_nBeamType | Integer | ||||||||||||||||||||||||||||||||||
| m_nBeamFlags | Integer | ||||||||||||||||||||||||||||||||||
| m_nNumBeamEnts | 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 | ||||||||||||||||||||||||||||||||||
| 
 | |||||||||||||||||||||||||||||||||||
Entity DataMaps
| 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 |