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
CMotionGraph
Relationship diagram (4 edges)
classDiagram
CMotionGraph <|-- CEditableMotionGraph
CMotionGraph *-- CParamSpanUpdater
CMotionGraph *-- TagSpan_t
CMotionGraph *-- CMotionNodeMemory layout
7 fields, 7 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CMotionGraph
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x10 | m_paramSpans | CParamSpanUpdater | ||
0x28 | m_tags | CUtlVector< TagSpan_t > | ||
0x40 | m_pRootNode | CSmartPtr< CMotionNode > | ||
0x48 | m_nParameterCount | int32 | ||
0x4c | m_nConfigStartIndex | int32 | ||
0x50 | m_nConfigCount | int32 | ||
0x54 | m_bLoop | bool |
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
}