CSmartPropFilter_MaterialAttributes
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
Metadata: MPropertyDescription Allows the parent element to be conditionally evaluated based on attributes assigned to the surface material. MPropertyFriendlyName Filter: Material Attributes MVDataClassGroup Filter
Relationships
Inherits from: CSmartPropFilter
Inheritance tree
CSmartPropModifier
CSmartPropFilter
- CSmartPropFilter_MaterialAttributes
Relationship diagram (2 edges)
classDiagram
CSmartPropModifier <|-- CSmartPropFilter
CSmartPropFilter <|-- CSmartPropFilter_MaterialAttributesMemory layout
3 fields, 2 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropModifierCSmartPropFilter_MaterialAttributes
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_bEnabled | CSmartPropAttributeBool | CSmartPropModifier | MVDataEnableKey |
0x50 | m_AllowedMaterialAttributes | CUtlVector< CUtlString > | MPropertyDescription List of material attributes on which this element is valid. If empty, the element is not restricted to any specific surfaces. | |
0x68 | m_DisallowedMaterialAttributes | CUtlVector< CUtlString > | MPropertyDescription List of material attributes on which this element is not valid. If empty, the element is not restricted to any specific surfaces. |
KV3 class defaults
{
"_class": "CSmartPropFilter_MaterialAttributes",
"m_bEnabled": true,
"m_AllowedMaterialAttributes":
[
],
"m_DisallowedMaterialAttributes":
[
]
}