Skip to content

CSmartPropOperation_ResetScale

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

Kind: classSize: 144 bytes (0x90)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes

Metadata: MPropertyDescription Reset the current scale such the element only inherits the object level scale, but does not inherit the scale applied to its parent. MPropertyFriendlyName Transform: Reset Scale MVDataClassGroup Transform

Relationships

Inherits from: CSmartPropTransformOperation

Inheritance tree
Relationship diagram (3 edges)
classDiagram
    CSmartPropModifier <|-- CSmartPropOperation
    CSmartPropOperation <|-- CSmartPropTransformOperation
    CSmartPropTransformOperation <|-- CSmartPropOperation_ResetScale
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

2 fields, 1 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.

CSmartPropModifierCSmartPropOperation_ResetScale

OffsetFieldTypeFromAnnotations
0x8m_bEnabledCSmartPropAttributeBoolCSmartPropModifierMVDataEnableKey
0x50m_bIgnoreObjectScaleCSmartPropAttributeBoolMPropertyDescription If enabled, the object level scale will be ignored, meaning any scale applied in Hammer will have no effect on the element or its children.
KV3 class defaults
{
	"_class": "CSmartPropOperation_ResetScale",
	"m_bEnabled": true,
	"m_bIgnoreObjectScale": false
}