Skip to content

CAnimGraphDoc_DistanceRemainingMetric

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

Kind: classSize: 72 bytes (0x48)Alignment: 8 bytesModule: animgraphdoclibBinary: !GlobalTypes

Metadata: MPropertyFriendlyName Distance Remaining Metric

Relationships

Inherits from: CAnimGraphDoc_MotionMetric

Inheritance tree
Relationship diagram (1 edges)
classDiagram
    CAnimGraphDoc_MotionMetric <|-- CAnimGraphDoc_DistanceRemainingMetric
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CAnimGraphDoc_MotionMetricCAnimGraphDoc_DistanceRemainingMetric

OffsetFieldTypeFromAnnotations
0x20m_flWeightfloat32CAnimGraphDoc_MotionMetricMPropertySuppressField
0x28m_flMaxDistancefloat32MPropertyFriendlyName Maximum Tracked Distance
0x2cm_bFilterFixedMinDistanceboolMPropertyAutoRebuildOnChange MPropertyFriendlyName Filter By Fixed Distance
0x30m_flMinDistancefloat32MPropertyAttrStateCallback MPropertyFriendlyName Min Distance
0x34m_bFilterGoalDistanceboolMPropertyAutoRebuildOnChange MPropertyFriendlyName Filter By Goal Distance
0x38m_flStartGoalFilterDistancefloat32MPropertyAttrStateCallback MPropertyFriendlyName Goal Filter Start Distance
0x3cm_bFilterGoalOvershootboolMPropertyAttrStateCallback MPropertyAutoRebuildOnChange MPropertyFriendlyName Filter By Goal Overshoot
0x40m_flMaxGoalOvershootScalefloat32MPropertyAttrStateCallback MPropertyFriendlyName Max Goal Overshoot Scale
KV3 class defaults
{
	"_class": "CAnimGraphDoc_DistanceRemainingMetric",
	"m_flWeight": 1.000000,
	"m_flMaxDistance": 300.000000,
	"m_bFilterFixedMinDistance": true,
	"m_flMinDistance": 0.000000,
	"m_bFilterGoalDistance": true,
	"m_flStartGoalFilterDistance": 150.000000,
	"m_bFilterGoalOvershoot": false,
	"m_flMaxGoalOvershootScale": 2.000000
}