fogparams_t (client)
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 104 bytes (0x68)Alignment: 8 bytesModule: clientBinary: client.dll
Relationships
Inherits from: nothing; this is a root class.
Same name in another module: fogparams_t (server)
Inheritance tree
- fogparams_t
Relationship diagram (1 edges)
classDiagram
fogparams_t *-- GameTime_tMemory layout
25 fields, 25 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
fogparams_t
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | dirPrimary | Vector | ||
0x14 | colorPrimary | Color | ||
0x18 | colorSecondary | Color | ||
0x1c | colorPrimaryLerpTo | Color | MNotSaved | |
0x20 | colorSecondaryLerpTo | Color | MNotSaved | |
0x24 | start | float32 | ||
0x28 | end | float32 | ||
0x2c | farz | float32 | ||
0x30 | maxdensity | float32 | ||
0x34 | exponent | float32 | ||
0x38 | HDRColorScale | float32 | ||
0x3c | skyboxFogFactor | float32 | MNotSaved | |
0x40 | skyboxFogFactorLerpTo | float32 | MNotSaved | |
0x44 | startLerpTo | float32 | MNotSaved | |
0x48 | endLerpTo | float32 | MNotSaved | |
0x4c | maxdensityLerpTo | float32 | MNotSaved | |
0x50 | lerptime | GameTime_t | MNotSaved | |
0x54 | duration | float32 | ||
0x58 | blendtobackground | float32 | ||
0x5c | scattering | float32 | ||
0x60 | locallightscale | float32 | ||
0x64 | enable | bool | ||
0x65 | blend | bool | ||
0x66 | m_bPadding2 | bool | MNotSaved | |
0x67 | m_bPadding | bool | MNotSaved |
KV3 class defaults
{
"_class": "fogparams_t",
"dirPrimary":
[
1.000000,
0.000000,
0.000000
],
"colorPrimary":
[
0,
0,
0,
0
],
"colorSecondary":
[
0,
0,
0,
0
],
"start": 0.000000,
"end": 0.000000,
"farz": 0.000000,
"maxdensity": 0.000000,
"exponent": 0.000000,
"HDRColorScale": 0.000000,
"duration": 0.000000,
"blendtobackground": 0.000000,
"scattering": 0.000000,
"locallightscale": 1.000000,
"enable": false,
"blend": false
}