CSpriteTrail: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
Constantly emits a [https://developer.valvesoftware.com/wiki/Sprite sprite], which in turn will create a trail effect on movement.


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


'''Linked entity : ...'''
'''Linked Entity : [https://developer.valvesoftware.com/wiki/env_spritetrail env_spritetrail]'''


==[[Classes|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CSprite]]'''
***'''[[CBaseAnimatingOverlay]]'''
***'''CSpriteTrail'''
****'''[[CBaseFlex]]'''
*****'''[[CBaseCombatCharacter]]'''
******'''[[CBasePlayer]]'''
*******'''CTFPlayer'''


== SendProps ==
== SendProps ==

Latest revision as of 18:15, 10 August 2022

Overview[edit | edit source]

Constantly emits a sprite, which in turn will create a trail effect on movement.

Source location : /game/shared/SpriteTrail.h

Linked Entity : env_spritetrail

Class Structure[edit | edit source]

SendProps[edit | edit source]

CSpriteTrail
Name Type Description
m_flLifeTime Float
m_flStartWidth Float
m_flEndWidth Float
m_flStartWidthVariance Float
m_flTextureRes Float
m_flMinFadeLength Float
m_vecSkyboxOrigin Vector
m_flSkyboxScale Float

Entity DataMaps[edit | edit source]

CSpriteTrail
Name Type Description
m_bAnimate
m_flEndWidth
m_flLifeTime
m_flMinFadeLength
m_flSkyboxScale
m_flStartWidth
m_flStartWidthVariance
m_flTextureRes
m_iszSpriteName
m_vecSkyboxOrigin