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

FieldType
m_hSpriteMaterialCStrongHandle<InfoForResourceTypeIMaterial2>
m_hAttachedToEntityCHandle<CBaseEntity>
m_flSpriteFrameratefloat
m_flFramefloat
m_flDieTimefloat
m_nBrightnessuint32_t
m_flBrightnessDurationfloat
m_flSpriteScalefloat
m_flScaleDurationfloat
m_bWorldSpaceScalebool
m_flGlowProxySizefloat
m_flHDRColorScalefloat
m_flLastTimefloat
m_flMaxFramefloat
m_flStartScalefloat
m_flDestScalefloat
m_flScaleTimeStartfloat
m_nStartBrightnessint32_t
m_nDestBrightnessint32_t
m_flBrightnessTimeStartfloat
m_nSpriteWidthint32_t
m_nSpriteHeightint32_t
m_flSpeedfloat

Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).

On this page