CSmartPropOperation_ResetRotation
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 336 bytes (0x150)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes
Metadata: MPropertyDescription Reset the current rotation such the element only inherits the object level rotation, but does not inherit the rotation applied to its parent. MPropertyFriendlyName Transform: Reset Rotation MVDataClassGroup Transform
Relationships
Inherits from: CSmartPropTransformOperation
Inheritance tree
CSmartPropModifier
CSmartPropOperation
CSmartPropTransformOperation
- CSmartPropOperation_ResetRotation
Relationship diagram (3 edges)
classDiagram
CSmartPropModifier <|-- CSmartPropOperation
CSmartPropOperation <|-- CSmartPropTransformOperation
CSmartPropTransformOperation <|-- CSmartPropOperation_ResetRotationMemory layout
5 fields, 4 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropModifierCSmartPropOperation_ResetRotation
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_bEnabled | CSmartPropAttributeBool | CSmartPropModifier | MVDataEnableKey |
0x50 | m_bIgnoreObjectRotation | CSmartPropAttributeBool | MPropertyDescription If enabled, the rotation will be reset to a world space instead of object space, meaning any rotation applied to the object in Hammer will be ignored. | |
0x90 | m_bResetPitch | CSmartPropAttributeBool | MPropertyDescription Should the pitch (rotation around left vector) value be reset. | |
0xd0 | m_bResetYaw | CSmartPropAttributeBool | MPropertyDescription Should the yaw (roation around the up vector) value be reset. | |
0x110 | m_bResetRoll | CSmartPropAttributeBool | MPropertyDescription Should the roll (rotation around forward vector) value be reset. |
KV3 class defaults
{
"_class": "CSmartPropOperation_ResetRotation",
"m_bEnabled": true,
"m_bIgnoreObjectRotation": false,
"m_bResetPitch": true,
"m_bResetYaw": true,
"m_bResetRoll": true
}