Entity systemClasses

CPlayerVisibility

Schema class CPlayerVisibility, derived from CBaseEntity.

Generated from the game's schema. Header: source2mod/schema/entity/classes/CPlayerVisibility.h

Inherits CBaseEntity

Fields

FieldType
m_flVisibilityStrengthfloat
m_flFogDistanceMultiplierfloat
m_flFogMaxDensityMultiplierfloat
m_flFadeTimefloat
m_bStartDisabledbool
m_bIsEnabledbool

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