CSmartPropMaterialReplacement
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 128 bytes (0x80)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes
Relationships
Inherits from: nothing; this is a root class.
Used by (1) as a field type
Inheritance tree
- CSmartPropMaterialReplacement
Memory layout
2 fields, 2 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropMaterialReplacement
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | m_OriginalMaterial | CSmartPropAttributeMaterialName | MPropertyAttributeEditor SmartPropAttributeEditor(MaterialInSmartProp) MPropertyDescription Original material to replace. This is the material specified in the model, including any material group asignment within the model. Does not consider any existing material overrides specified within the smart prop. MPropertyFriendlyName Original Material | |
0x40 | m_ReplacementMaterial | CSmartPropAttributeMaterialName | MPropertyDescription New material to replace the original material with. MPropertyFriendlyName New Material |
KV3 class defaults
{
"m_OriginalMaterial": "",
"m_ReplacementMaterial": ""
}