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

FieldType
m_hGradientFogTextureCStrongHandle<InfoForResourceTypeCTextureBase>
m_flFogStartDistancefloat
m_flFogEndDistancefloat
m_bHeightFogEnabledbool
m_flFogStartHeightfloat
m_flFogEndHeightfloat
m_flFarZfloat
m_flFogMaxOpacityfloat
m_flFogFalloffExponentfloat
m_flFogVerticalExponentfloat
m_fogColorColor
m_flFogStrengthfloat
m_flFadeTimefloat
m_bStartDisabledbool
m_bIsEnabledbool
m_bGradientFogNeedsTexturesbool

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