Skip to content

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_t
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

25 fields, 25 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.

fogparams_t

OffsetFieldTypeFromAnnotations
0x8dirPrimaryVector
0x14colorPrimaryColor
0x18colorSecondaryColor
0x1ccolorPrimaryLerpToColorMNotSaved
0x20colorSecondaryLerpToColorMNotSaved
0x24startfloat32
0x28endfloat32
0x2cfarzfloat32
0x30maxdensityfloat32
0x34exponentfloat32
0x38HDRColorScalefloat32
0x3cskyboxFogFactorfloat32MNotSaved
0x40skyboxFogFactorLerpTofloat32MNotSaved
0x44startLerpTofloat32MNotSaved
0x48endLerpTofloat32MNotSaved
0x4cmaxdensityLerpTofloat32MNotSaved
0x50lerptimeGameTime_tMNotSaved
0x54durationfloat32
0x58blendtobackgroundfloat32
0x5cscatteringfloat32
0x60locallightscalefloat32
0x64enablebool
0x65blendbool
0x66m_bPadding2boolMNotSaved
0x67m_bPaddingboolMNotSaved
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
}