Entity systemClasses
CFuncShatterglass
Schema class CFuncShatterglass, derived from CBaseModelEntity.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CFuncShatterglass.h
Inherits CBaseModelEntity
Fields
| Field | Type |
|---|---|
m_matPanelTransform | matrix3x4_t |
m_matPanelTransformWsTemp | matrix3x4_t |
m_vecShatterGlassShards | CUtlVector<uint32_t> |
m_PanelSize | Vector2D |
m_flLastShatterSoundEmitTime | float |
m_flLastCleanupTime | float |
m_flInitAtTime | float |
m_flGlassThickness | float |
m_flSpawnInvulnerability | float |
m_bBreakSilent | bool |
m_bBreakShardless | bool |
m_bBroken | bool |
m_bGlassNavIgnore | bool |
m_bGlassInFrame | bool |
m_bStartBroken | bool |
m_iInitialDamageType | uint8_t |
m_szDamagePositioningEntityName01 | CUtlSymbolLarge |
m_szDamagePositioningEntityName02 | CUtlSymbolLarge |
m_szDamagePositioningEntityName03 | CUtlSymbolLarge |
m_szDamagePositioningEntityName04 | CUtlSymbolLarge |
m_vInitialDamagePositions | CUtlVector<Vector> |
m_vExtraDamagePositions | CUtlVector<Vector> |
m_vInitialPanelVertices | CUtlVector<Vector4D> |
m_OnBroken | CEntityIOOutput |
m_iSurfaceType | uint8_t |
m_hMaterialDamageBase | CStrongHandle<InfoForResourceTypeIMaterial2> |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).