CSprite

From SigMod
Revision as of 18:13, 10 August 2022 by Mince (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

This entity represents a generic sprite.

Source location : /game/shared/Sprite.h

Linked Entity : env_sprite

Class Structure

SendProps

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

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