CSmartPropOperation_ComputeProjectVector3D
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 Project Vector A onto Vector B MPropertyFriendlyName Project Vector MVDataClassGroup Compute
Relationships
Inherits from: CSmartPropOperation
Inheritance tree
CSmartPropModifier
CSmartPropOperation
- CSmartPropOperation_ComputeProjectVector3D
Relationship diagram (3 edges)
classDiagram
CSmartPropModifier <|-- CSmartPropOperation
CSmartPropOperation <|-- CSmartPropOperation_ComputeProjectVector3D
CSmartPropOperation_ComputeProjectVector3D *-- CSmartPropAttributeCoordinateSpaceMemory layout
8 fields, 7 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropModifierCSmartPropOperation_ComputeProjectVector3D
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_bEnabled | CSmartPropAttributeBool | CSmartPropModifier | MVDataEnableKey |
0x50 | m_OutputVariableName | CUtlString | MPropertyAttributeEditor SmartPropItemNameEditor( Variable:Vector3 ) MPropertyFriendlyName Output Variable | |
0x58 | m_OutputCoordinateSpace | CSmartPropAttributeCoordinateSpace | MPropertyDescription Specifies the coordinate space that vector should be returned in. | |
0x98 | m_InputVectorA | CSmartPropAttributeVector | MPropertyFriendlyName Vector A MPropertyGroupName +Vector A | |
0xd8 | m_CoordinateSpaceA | CSmartPropAttributeCoordinateSpace | MPropertyDescription Specifies the coordinate space of vector A. MPropertyGroupName +Vector A | |
0x118 | m_InputVectorB | CSmartPropAttributeVector | MPropertyFriendlyName Vector B MPropertyGroupName +Vector B | |
0x158 | m_CoordinateSpaceB | CSmartPropAttributeCoordinateSpace | MPropertyDescription Specifies the coordinate space of posivectortion B. MPropertyGroupName +Vector B | |
0x198 | m_bPlane | CSmartPropAttributeBool | MPropertyDescription Interpret Vector B as plane normal. MPropertyFriendlyName Projection to plane |
KV3 class defaults
{
"_class": "CSmartPropOperation_ComputeProjectVector3D",
"m_bEnabled": true,
"m_OutputVariableName": "",
"m_OutputCoordinateSpace": "WORLD",
"m_InputVectorA":
[
0.000000,
0.000000,
0.000000
],
"m_CoordinateSpaceA": "WORLD",
"m_InputVectorB":
[
0.000000,
0.000000,
0.000000
],
"m_CoordinateSpaceB": "WORLD",
"m_bPlane": false
}