Skip to content

CSmartPropOperation_ComputeVectorBetweenPoints3D

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

Kind: classSize: 472 bytes (0x1d8)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes

Metadata: MPropertyDescription Compute the vector between two 3D points MPropertyFriendlyName Vector Between Points MVDataClassGroup Compute

Relationships

Inherits from: CSmartPropOperation

Inheritance tree
Relationship diagram (3 edges)
classDiagram
    CSmartPropModifier <|-- CSmartPropOperation
    CSmartPropOperation <|-- CSmartPropOperation_ComputeVectorBetweenPoints3D
    CSmartPropOperation_ComputeVectorBetweenPoints3D *-- CSmartPropAttributeCoordinateSpace
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.

CSmartPropModifierCSmartPropOperation_ComputeVectorBetweenPoints3D

OffsetFieldTypeFromAnnotations
0x8m_bEnabledCSmartPropAttributeBoolCSmartPropModifierMVDataEnableKey
0x50m_OutputVariableNameCUtlStringMPropertyAttributeEditor SmartPropItemNameEditor( Variable:Vector3 ) MPropertyFriendlyName Output Variable
0x58m_OutputCoordinateSpaceCSmartPropAttributeCoordinateSpaceMPropertyDescription Specifies the coordinate space that vector should be returned in.
0x98m_bNormalizedCSmartPropAttributeBoolMPropertyDescription Should the return value be normalized to unit length (direction vector). MPropertyFriendlyName Normalized (Direction Vector)
0xd8m_InputPositionACSmartPropAttributeVectorMPropertyFriendlyName Position A MPropertyGroupName +Position A
0x118m_CoordinateSpaceACSmartPropAttributeCoordinateSpaceMPropertyDescription Specifies the coordinate space of position A. MPropertyGroupName +Position A
0x158m_InputPositionBCSmartPropAttributeVectorMPropertyFriendlyName Position B MPropertyGroupName +Position B
0x198m_CoordinateSpaceBCSmartPropAttributeCoordinateSpaceMPropertyDescription Specifies the coordinate space of position B. MPropertyGroupName +Position B
KV3 class defaults
{
	"_class": "CSmartPropOperation_ComputeVectorBetweenPoints3D",
	"m_bEnabled": true,
	"m_OutputVariableName": "",
	"m_OutputCoordinateSpace": "WORLD",
	"m_bNormalized": false,
	"m_InputPositionA":
	[
		0.000000,
		0.000000,
		0.000000
	],
	"m_CoordinateSpaceA": "WORLD",
	"m_InputPositionB":
	[
		0.000000,
		0.000000,
		0.000000
	],
	"m_CoordinateSpaceB": "WORLD"
}