Entity systemClasses
CSprite
Schema class CSprite, derived from CBaseModelEntity.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CSprite.h
Inherits CBaseModelEntity
Fields
| Field | Type |
|---|---|
m_hSpriteMaterial | CStrongHandle<InfoForResourceTypeIMaterial2> |
m_hAttachedToEntity | CHandle<CBaseEntity> |
m_flSpriteFramerate | float |
m_flFrame | float |
m_flDieTime | float |
m_nBrightness | uint32_t |
m_flBrightnessDuration | float |
m_flSpriteScale | float |
m_flScaleDuration | float |
m_bWorldSpaceScale | bool |
m_flGlowProxySize | float |
m_flHDRColorScale | float |
m_flLastTime | float |
m_flMaxFrame | float |
m_flStartScale | float |
m_flDestScale | float |
m_flScaleTimeStart | float |
m_nStartBrightness | int32_t |
m_nDestBrightness | int32_t |
m_flBrightnessTimeStart | float |
m_nSpriteWidth | int32_t |
m_nSpriteHeight | int32_t |
m_flSpeed | float |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).