MaterialGroupChoice_t
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
- MaterialGroupChoice_t
Memory layout
2 fields, 2 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
MaterialGroupChoice_t
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | m_MaterialGroupName | CSmartPropAttributeMaterialGroup | MPropertyAttributeEditor SmartPropAttributeEditor( MaterialGroupFromVariable ) MPropertyDescription Specifies the name of the material group (skin) to use when displaying the specified model. MPropertyFriendlyName Material Group | |
0x40 | m_flWeight | CSmartPropAttributeFloat | MPropertyDescription Relative weight of this choice, higher weighted choices are more likely to be selected. |
KV3 class defaults
{
"m_MaterialGroupName": "",
"m_flWeight": 1.000000
}