CSprite: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
This entity represents a generic [https://developer.valvesoftware.com/wiki/Sprite sprite].


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


'''Linked Entities :'''
'''Linked Entity : [https://developer.valvesoftware.com/wiki/env_sprite env_sprite]'''
*''' [https://developer.valvesoftware.com/wiki/env_sprite env_sprite]'''
*''' [https://developer.valvesoftware.com/wiki/env_glow env_glow]'''


==[[Classes|Class Structure]]==
==[[Classes|Class Structure]]==

Latest revision as of 18:13, 10 August 2022

Overview[edit | edit source]

This entity represents a generic sprite.

Source location : /game/shared/Sprite.h

Linked Entity : env_sprite

Class Structure[edit | edit source]

SendProps[edit | edit source]

CSprite
Name Type Description
m_hAttachedToEntity Integer
m_nAttachment Integer
m_flScaleTime Float
m_flSpriteScale Float
m_flGlowProxySize Float
m_flHDRColorScale Float
m_flSpriteFramerate Float
m_flFrame Float
m_flBrightnessTime Float
m_nBrightness Integer
m_bWorldSpaceScale Boolean

Entity DataMaps[edit | edit source]

CSprite
Name Type Description
CSpriteAnimateThink
CSpriteAnimateUntilDead
CSpriteBeginFadeOutThink
CSpriteExpandThink
InputColorBlueValue
InputColorGreenValue
InputColorRedValue
InputHideSprite
InputShowSprite
InputToggleSprite
m_bWorldSpaceScale
m_flBrightnessTime
m_flBrightnessTimeStart
m_flDestScale
m_flDieTime
m_flFrame
m_flGlowProxySize
m_flHDRColorScale
m_flLastTime
m_flMaxFrame
m_flScaleTime
m_flScaleTimeStart
m_flSpriteFramerate
m_flSpriteScale
m_flStartScale
m_hAttachedToEntity
m_nAttachment
m_nBrightness
m_nDestBrightness
m_nStartBrightness