Skip to content

CMotionGraph

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

Kind: classSize: 88 bytes (0x58)Alignment: 8 bytesModule: animgraphlibBinary: !GlobalTypes

Relationships

Inherits from: nothing; this is a root class.

Derived by: CEditableMotionGraph

Used by (2) as a field type

Inheritance tree
Relationship diagram (4 edges)
classDiagram
    CMotionGraph <|-- CEditableMotionGraph
    CMotionGraph *-- CParamSpanUpdater
    CMotionGraph *-- TagSpan_t
    CMotionGraph *-- CMotionNode
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CMotionGraph

OffsetFieldTypeFromAnnotations
0x10m_paramSpansCParamSpanUpdater
0x28m_tagsCUtlVector< TagSpan_t >
0x40m_pRootNodeCSmartPtr< CMotionNode >
0x48m_nParameterCountint32
0x4cm_nConfigStartIndexint32
0x50m_nConfigCountint32
0x54m_bLoopbool
KV3 class defaults
{
	"_class": "CMotionGraph",
	"m_paramSpans":
	{
		"m_spans":
		[
		]
	},
	"m_tags":
	[
	],
	"m_pRootNode": null,
	"m_nParameterCount": 0,
	"m_nConfigStartIndex": -1,
	"m_nConfigCount": -1,
	"m_bLoop": false
}