CSmartPropOperation_SetTintColor
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 296 bytes (0x128)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes
Metadata: MPropertyDescription Set the color tint to one color out of a pre-selected set of colors. MPropertyFriendlyName Tint Color Choice MVDataClassGroup Color
Relationships
Inherits from: CSmartPropOperation
Inheritance tree
CSmartPropModifier
CSmartPropOperation
- CSmartPropOperation_SetTintColor
Relationship diagram (5 edges)
classDiagram
CSmartPropModifier <|-- CSmartPropOperation
CSmartPropOperation <|-- CSmartPropOperation_SetTintColor
CSmartPropOperation_SetTintColor *-- CSmartPropAttributeChoiceSelectionMode
CSmartPropOperation_SetTintColor *-- CSmartPropAttributeApplyColorMode
CSmartPropOperation_SetTintColor *-- ColorChoice_tMemory layout
5 fields, 4 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropModifierCSmartPropOperation_SetTintColor
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_bEnabled | CSmartPropAttributeBool | CSmartPropModifier | MVDataEnableKey |
0x50 | m_SelectionMode | CSmartPropAttributeChoiceSelectionMode | MPropertyDescription Specifies how the color is to be selected from the authored set of choices MPropertyFriendlyName Selection Mode | |
0x90 | m_ColorSelection | CSmartPropAttributeInt | MPropertyDescription Specifies the index of the color to pick MPropertyFriendlyName Color Selection MPropertySuppressExpr ( m_SelectionMode != SPECIFIC ) | |
0xd0 | m_Mode | CSmartPropAttributeApplyColorMode | MPropertyDescription Specifies how the selected color should be applied to the current color. MPropertyFriendlyName Application Mode | |
0x110 | m_ColorChoices | CUtlVector< ColorChoice_t > | MPropertyDescription List of possible colors which may be selected |
KV3 class defaults
{
"_class": "CSmartPropOperation_SetTintColor",
"m_bEnabled": true,
"m_SelectionMode": "RANDOM",
"m_ColorSelection": 0,
"m_Mode": "MULTIPLY_OBJECT",
"m_ColorChoices":
[
]
}