CSmartPropOperation_MaterialOverride
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 168 bytes (0xa8)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes
Metadata: MPropertyDescription Specifies a table of material replacements to apply to all following models. Mapping goes from the material specified by the model (including material group selection) to the replacement material. Previous material overrides are not considered when determining the base material. MPropertyFriendlyName Material Override MVDataClassGroup Material
Relationships
Inherits from: CSmartPropOperation
Inheritance tree
CSmartPropModifier
CSmartPropOperation
- CSmartPropOperation_MaterialOverride
Relationship diagram (3 edges)
classDiagram
CSmartPropModifier <|-- CSmartPropOperation
CSmartPropOperation <|-- CSmartPropOperation_MaterialOverride
CSmartPropOperation_MaterialOverride *-- CSmartPropMaterialReplacementMemory layout
3 fields, 2 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropModifierCSmartPropOperation_MaterialOverride
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_bEnabled | CSmartPropAttributeBool | CSmartPropModifier | MVDataEnableKey |
0x50 | m_bClearCurrentOverrides | CSmartPropAttributeBool | MPropertyDescription If enabled, clear any previous material overrides, so that only the material replacements specified in this table will be active. MPropertyFriendlyName Clear Active Overrides | |
0x90 | m_MaterialReplacements | CUtlVector< CSmartPropMaterialReplacement > | MPropertyAutoExpandSelf MPropertyDescription Table specifying pairs of existing materials and the material to replace them with. MPropertyFriendlyName Material Replacements |
KV3 class defaults
{
"_class": "CSmartPropOperation_MaterialOverride",
"m_bEnabled": true,
"m_bClearCurrentOverrides": false,
"m_MaterialReplacements":
[
]
}