Skip to content

CSmartPropSelectionCriteria_MaterialCriteria

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

Kind: classSize: 200 bytes (0xc8)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes

Metadata: MPropertyDescription MPropertyFriendlyName Filter Faces By Material MVDataComponentValidGrandParents

Relationships

Inherits from: CSmartPropSelectionCriteria

Inheritance tree
Relationship diagram (1 edges)
classDiagram
    CSmartPropSelectionCriteria <|-- CSmartPropSelectionCriteria_MaterialCriteria
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.

CSmartPropSelectionCriteriaCSmartPropSelectionCriteria_MaterialCriteria

OffsetFieldTypeFromAnnotations
0x8m_bEnabledCSmartPropAttributeBoolCSmartPropSelectionCriteriaMVDataEnableKey
0x48m_materialCSmartPropAttributeMaterialNameMPropertyDescription Target material name. MPropertyFriendlyName Material
0x88m_bInvertCSmartPropAttributeBoolMPropertyDescription When true, discard faces with matching material. MPropertyFriendlyName Invert
KV3 class defaults
{
	"_class": "CSmartPropSelectionCriteria_MaterialCriteria",
	"m_bEnabled": true,
	"m_material": "",
	"m_bInvert": false
}