Entity systemClasses
CGradientFog
Schema class CGradientFog, derived from CBaseEntity.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CGradientFog.h
Inherits CBaseEntity
Fields
| Field | Type |
|---|---|
m_hGradientFogTexture | CStrongHandle<InfoForResourceTypeCTextureBase> |
m_flFogStartDistance | float |
m_flFogEndDistance | float |
m_bHeightFogEnabled | bool |
m_flFogStartHeight | float |
m_flFogEndHeight | float |
m_flFarZ | float |
m_flFogMaxOpacity | float |
m_flFogFalloffExponent | float |
m_flFogVerticalExponent | float |
m_fogColor | Color |
m_flFogStrength | float |
m_flFadeTime | float |
m_bStartDisabled | bool |
m_bIsEnabled | bool |
m_bGradientFogNeedsTextures | bool |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).