Skip to content

CNmClipDocument

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

Kind: classSize: 248 bytes (0xf8)Alignment: 8 bytesModule: animdoclibBinary: !GlobalTypes

Relationships

Inherits from: CNmAnimDocument

Inheritance tree
Relationship diagram (2 edges)
classDiagram
    CNmAnimDocument <|-- CNmClipDocument
    CNmClipDocument *-- CNmClipDocEventTrack
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

14 fields, 13 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.

CNmAnimDocumentCNmClipDocument

OffsetFieldTypeFromAnnotations
0x68m_nVersionint32CNmAnimDocumentMPropertySuppressField
0x70m_sourceFilenameCUtlStringMPropertyAttributeEditor ModelDocAssetBrowse( dmx, fbx, smd, *requiredoubleclick, *ShowRelatedFile )
0x78m_animationSkeletonNameCUtlStringMPropertyAttributeEditor AssetBrowse( vnmskel, *requiredoubleclick )
0x80m_secondaryAnimationSkeletonNamesCUtlVector< CUtlString >MPropertyAttributeEditor AssetBrowse( vnmskel, *requiredoubleclick ) MPropertyAutoExpandSelf
0x98m_eventTracksCUtlLeanVector< CNmClipDocEventTrack >MPropertySuppressField
0xa8m_nStartFrameint32MPropertyDescription Specify the import start frame (0 or a negative value means use the first frame in the authored animation) MPropertyGroupName +Import Options
0xacm_nEndFrameint32MPropertyDescription Specify the import end frame (0 or a negative value means use the last frame in the authored animation) MPropertyGroupName +Import Options
0xb0m_flDurationOverrideSecondsfloat32MPropertyDescription Override the final duration of this clip in seconds (0 or a negative value means use the authored duration) MPropertyGroupName +Import Options
0xb4m_additiveTypeCNmClipDocument::AdditiveType_tMPropertyGroupName +Additive
0xb8m_additiveBaseFilenameCUtlStringMPropertyAttrStateCallback MPropertyAttributeEditor AssetBrowse( dmx, fbx, *requiredoubleclick ) MPropertyDescription The source file to use as the base of the additive MPropertyGroupName +Additive
0xc0m_additiveBaseFrameCNmClipDocument::AdditiveBaseFrame_tMPropertyAttrStateCallback MPropertyDescription The frame to use when generating an additive, if you are generating relative to another animation and this is set to -1, we will extract each frame from it's corresponding frame in the base anim MPropertyGroupName +Additive
0xc4m_nAdditiveBaseFrameIdxint32MPropertyAttrStateCallback MPropertyDescription The frame to use when generating an additive, only valid for 'RelativeToFrame' and 'RelativeToAnimationFrame' MPropertyGroupName +Additive
0xc8m_bUseReferencePoseForSecondaryAnimAdditivesboolMPropertyAttrStateCallback MPropertyDescription Should we calculate the additives for the secondary weapons from their reference pose or try to look up a pose in the specified animation MPropertyGroupName +Additive
0xd0m_bonesToSampleInModelSpaceCUtlVector< CUtlString >MPropertyAutoExpandSelf MPropertyDescription List the set of bones that need to be sampled in model space for sub-frames. Warning! This can be REALLY expensive so be careful with this! MPropertyGroupName Advanced
KV3 class defaults
{
	"_class": "CNmClipDocument",
	"m_nVersion": 0,
	"m_sourceFilename": "",
	"m_animationSkeletonName": "",
	"m_secondaryAnimationSkeletonNames":
	[
	],
	"m_eventTracks":
	[
	],
	"m_nStartFrame": -1,
	"m_nEndFrame": -1,
	"m_flDurationOverrideSeconds": -1.000000,
	"m_additiveType": "None",
	"m_additiveBaseFilename": "",
	"m_additiveBaseFrame": "FirstFrame",
	"m_nAdditiveBaseFrameIdx": -1,
	"m_bUseReferencePoseForSecondaryAnimAdditives": false,
	"m_bonesToSampleInModelSpace":
	[
	]
}