CSmartPropOperation_RandomRotation
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 272 bytes (0x110)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes
Metadata: MPropertyDescription Apply a random rotation to the current transform. MPropertyFriendlyName Transform: Random Rotation MVDataClassGroup Transform
Relationships
Inherits from: CSmartPropTransformOperation
Inheritance tree
CSmartPropModifier
CSmartPropOperation
CSmartPropTransformOperation
- CSmartPropOperation_RandomRotation
Relationship diagram (3 edges)
classDiagram
CSmartPropModifier <|-- CSmartPropOperation
CSmartPropOperation <|-- CSmartPropTransformOperation
CSmartPropTransformOperation <|-- CSmartPropOperation_RandomRotationMemory layout
4 fields, 3 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropModifierCSmartPropOperation_RandomRotation
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_bEnabled | CSmartPropAttributeBool | CSmartPropModifier | MVDataEnableKey |
0x50 | m_vRandomRotationMin | CSmartPropAttributeAngles | MPropertyDescription Minimum rotation range | |
0x90 | m_vRandomRotationMax | CSmartPropAttributeAngles | MPropertyDescription Maximum rotation range | |
0xd0 | m_vSnapIncrement | CSmartPropAttributeAngles | MPropertyDescription If non-zero, specifies the angle increment to which the randomly selected value will be snapped. Note that the snap value is absolute, not relative to the min or max, but if the if the min or max are not multiples of the snap value they can still be selected. |
KV3 class defaults
{
"_class": "CSmartPropOperation_RandomRotation",
"m_bEnabled": true,
"m_vRandomRotationMin":
[
0.000000,
0.000000,
0.000000
],
"m_vRandomRotationMax":
[
0.000000,
0.000000,
0.000000
],
"m_vSnapIncrement":
[
0.000000,
0.000000,
0.000000
]
}