CSpriteTrail: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 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 : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/SpriteTrail.h /game/shared/SpriteTrail.h]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/SpriteTrail.h /game/shared/SpriteTrail.h]'''

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