CSmartPropOperation_RandomColorTintColor
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 240 bytes (0xf0)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes
Metadata: MPropertyDescription Set the color tint to a selection from within the defined gradient. MPropertyFriendlyName Tint Color Gradient MVDataClassGroup Color
Relationships
Inherits from: CSmartPropOperation
Inheritance tree
CSmartPropModifier
CSmartPropOperation
- CSmartPropOperation_RandomColorTintColor
Relationship diagram (3 edges)
classDiagram
CSmartPropModifier <|-- CSmartPropOperation
CSmartPropOperation <|-- CSmartPropOperation_RandomColorTintColor
CSmartPropOperation_RandomColorTintColor *-- CSmartPropAttributeChoiceSelectionModeMemory layout
5 fields, 4 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropModifierCSmartPropOperation_RandomColorTintColor
| 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_ColorPosition | CSmartPropAttributeFloat | MPropertyDescription [ 0, 1 ] Value specifying the location on the gradient to pick the color from. MPropertyFriendlyName Color Position MPropertySuppressExpr ( m_SelectionMode != SPECIFIC ) | |
0xd0 | m_Mode | ApplyColorMode_t | MPropertyDescription Specifies how the selected color should be applied to the current color. MPropertyFriendlyName Application Mode | |
0xd8 | m_Gradient | CColorGradient | MPropertyDescription Defines a color gradient from which a random color will be piked. |
KV3 class defaults
{
"_class": "CSmartPropOperation_RandomColorTintColor",
"m_bEnabled": true,
"m_SelectionMode": "RANDOM",
"m_ColorPosition": 0.000000,
"m_Mode": "MULTIPLY_OBJECT",
"m_Gradient":
{
"m_Stops":
[
]
}
}