CSpriteTrail: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Overview ==
== Overview ==
...
Constantly emits a [https://developer.valvesoftware.com/wiki/Sprite sprite] which 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]'''

Revision as of 18:14, 10 August 2022

Overview

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

Source location : /game/shared/SpriteTrail.h

Linked Entity : env_spritetrail

Class Structure

SendProps

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

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