CSmartPropOperation_SetOrientation
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 400 bytes (0x190)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes
Metadata: MPropertyDescription Set the current orientation from a specified forward and up vector. MPropertyFriendlyName Transform: Set Orientation MVDataClassGroup Transform
Relationships
Inherits from: CSmartPropTransformOperation
Inheritance tree
CSmartPropModifier
CSmartPropOperation
CSmartPropTransformOperation
- CSmartPropOperation_SetOrientation
Relationship diagram (4 edges)
classDiagram
CSmartPropModifier <|-- CSmartPropOperation
CSmartPropOperation <|-- CSmartPropTransformOperation
CSmartPropTransformOperation <|-- CSmartPropOperation_SetOrientation
CSmartPropOperation_SetOrientation *-- CSmartPropAttributeCoordinateSpaceMemory layout
6 fields, 5 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropModifierCSmartPropOperation_SetOrientation
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_bEnabled | CSmartPropAttributeBool | CSmartPropModifier | MVDataEnableKey |
0x50 | m_vForwardVector | CSmartPropAttributeVector | MPropertyGroupName +Forward | |
0x90 | m_ForwardDirectionSpace | CSmartPropAttributeCoordinateSpace | MPropertyDescription Specifies the coordinate space the forward direction is being specified in MPropertyGroupName +Forward | |
0xd0 | m_vUpVector | CSmartPropAttributeVector | MPropertyGroupName +Up | |
0x110 | m_UpDirectionSpace | CSmartPropAttributeCoordinateSpace | MPropertyDescription Specifies the coordinate space the up direction is being specified in MPropertyGroupName +Up | |
0x150 | m_bPrioritizeUp | CSmartPropAttributeBool | MPropertyDescription If the specified vectors are not orthogonal, normally the up vector will be adjusted to make it orthogonal to the forward vector. If prioritize up is true, then the forward vector will be adjusted to be orthogonal to the specified up vector instead. |
KV3 class defaults
{
"_class": "CSmartPropOperation_SetOrientation",
"m_bEnabled": true,
"m_vForwardVector":
[
1.000000,
0.000000,
0.000000
],
"m_ForwardDirectionSpace": "WORLD",
"m_vUpVector":
[
0.000000,
0.000000,
1.000000
],
"m_UpDirectionSpace": "WORLD",
"m_bPrioritizeUp": false
}