Skip to content

CFogScatteringLayer

CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 72 bytes (0x48)Alignment: 8 bytesModule: resourcecompilerBinary: !GlobalTypes

Relationships

Inherits from: CColorCorrectionLayer

Inheritance tree
Relationship diagram (2 edges)
classDiagram
    CColorCorrectionLayer <|-- CFogScatteringLayer
    CFogScatteringLayer *-- PostProcessingFogScatteringParameters_t
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

5 fields, 1 declared here and 4 inherited. Offsets are absolute from the object base on windows-x86_64.

CColorCorrectionLayerCFogScatteringLayer

OffsetFieldTypeFromAnnotations
0x8m_nameCUtlStringCColorCorrectionLayer
0x10m_nOpacityPercentint32CColorCorrectionLayer
0x14m_bVisibleboolCColorCorrectionLayer
0x18m_pLayerMaskCLayerMask*CColorCorrectionLayer
0x28m_paramsPostProcessingFogScatteringParameters_t
KV3 class defaults
{
	"_class": "CFogScatteringLayer",
	"m_name": "Fog Scattering 1",
	"m_nOpacityPercent": 100,
	"m_bVisible": true,
	"m_pLayerMask": null,
	"m_params":
	{
		"m_fRadius": 0.750000,
		"m_fScale": 0.000000,
		"m_fCubemapScale": 1.000000,
		"m_fVolumetricScale": 1.000000,
		"m_fGradientScale": 1.000000,
		"m_fWaterScale": 0.000000,
		"m_fWaterDensity": 0.000000,
		"m_fWaterDepthBlurRadius": 0.000000
	}
}