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
CColorCorrectionLayer
- CFogScatteringLayer
Relationship diagram (2 edges)
classDiagram
CColorCorrectionLayer <|-- CFogScatteringLayer
CFogScatteringLayer *-- PostProcessingFogScatteringParameters_tMemory layout
5 fields, 1 declared here and 4 inherited. Offsets are absolute from the object base on windows-x86_64.
CColorCorrectionLayerCFogScatteringLayer
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_name | CUtlString | CColorCorrectionLayer | |
0x10 | m_nOpacityPercent | int32 | CColorCorrectionLayer | |
0x14 | m_bVisible | bool | CColorCorrectionLayer | |
0x18 | m_pLayerMask | CLayerMask* | CColorCorrectionLayer | |
0x28 | m_params | PostProcessingFogScatteringParameters_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
}
}