Skip to content

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
Relationship diagram (2 edges)
classDiagram
    CSmartPropModifier <|-- CSmartPropFilter
    CSmartPropFilter <|-- CSmartPropFilter_MaterialAttributes
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CSmartPropModifierCSmartPropFilter_MaterialAttributes

OffsetFieldTypeFromAnnotations
0x8m_bEnabledCSmartPropAttributeBoolCSmartPropModifierMVDataEnableKey
0x50m_AllowedMaterialAttributesCUtlVector< CUtlString >MPropertyDescription List of material attributes on which this element is valid. If empty, the element is not restricted to any specific surfaces.
0x68m_DisallowedMaterialAttributesCUtlVector< 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":
	[
	]
}