Skip to content

CMotionGraphConfig

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

Kind: classSize: 32 bytes (0x20)Alignment: 4 bytesModule: animgraphlibBinary: !GlobalTypes

Relationships

Inherits from: nothing; this is a root class.

Used by (1) as a field type

Inheritance tree
  • CMotionGraphConfig
Relationship diagram (1 edges)
classDiagram
    CMotionGraphConfig *-- MotionIndex
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CMotionGraphConfig

OffsetFieldTypeFromAnnotations
0x0m_paramValuesfloat32[4]
0x10m_flDurationfloat32
0x14m_nMotionIndexMotionIndex
0x18m_nSampleStartint32
0x1cm_nSampleCountint32
KV3 class defaults
{
	"m_paramValues":
	[
		0.000000,
		0.000000,
		0.000000,
		0.000000
	],
	"m_flDuration": 0.000000,
	"m_nMotionIndex":
	{
		"m_nGroup": 65535,
		"m_nMotion": 65535
	},
	"m_nSampleStart": -1,
	"m_nSampleCount": 0
}