CSmartPropOperation_MaterialTint
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 360 bytes (0x168)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes
Metadata: MPropertyDescription Set a color tint to apply to a specific material. MPropertyFriendlyName Material Color Tint MVDataClassGroup Color
Relationships
Inherits from: CSmartPropOperation
Inheritance tree
CSmartPropModifier
CSmartPropOperation
- CSmartPropOperation_MaterialTint
Relationship diagram (3 edges)
classDiagram
CSmartPropModifier <|-- CSmartPropOperation
CSmartPropOperation <|-- CSmartPropOperation_MaterialTint
CSmartPropOperation_MaterialTint *-- CSmartPropAttributeColorSelectionModeMemory layout
6 fields, 5 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropModifierCSmartPropOperation_MaterialTint
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_bEnabled | CSmartPropAttributeBool | CSmartPropModifier | MVDataEnableKey |
0x50 | m_Material | CSmartPropAttributeMaterialName | MPropertyAttributeEditor SmartPropAttributeEditor(MaterialInSmartProp) MPropertyDescription Material to which color tint is to be applied. MPropertyFriendlyName Material | |
0x90 | m_SelectionMode | CSmartPropAttributeColorSelectionMode | MPropertyDescription Specifies how the color is to be specified. MPropertyFriendlyName Selection Mode | |
0xd0 | m_Color | CSmartPropAttributeColor | MPropertyDescription Color to be applied if this choice is selected. MPropertySuppressExpr m_SelectionMode != SPECIFIC_COLOR | |
0x110 | m_Gradient | CColorGradient | MPropertyDescription Defines a color gradient from which a color can be selected based on the selection mode. MPropertyFriendlyName Color Gradient MPropertySuppressExpr m_SelectionMode == SPECIFIC_COLOR | |
0x128 | m_ColorPosition | CSmartPropAttributeFloat | MPropertyDescription [ 0, 1 ] Value specifying the location on the gradient to pick the color from. MPropertyFriendlyName Color Position MPropertySuppressExpr m_SelectionMode != GRADIENT_LOCATION |
KV3 class defaults
{
"_class": "CSmartPropOperation_MaterialTint",
"m_bEnabled": true,
"m_Material": "",
"m_SelectionMode": "SPECIFIC_COLOR",
"m_Color":
[
255,
255,
255
],
"m_Gradient":
{
"m_Stops":
[
]
},
"m_ColorPosition": 0.000000
}