Skip to content

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
Relationship diagram (3 edges)
classDiagram
    CSmartPropModifier <|-- CSmartPropOperation
    CSmartPropOperation <|-- CSmartPropOperation_RandomColorTintColor
    CSmartPropOperation_RandomColorTintColor *-- CSmartPropAttributeChoiceSelectionMode
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

5 fields, 4 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.

CSmartPropModifierCSmartPropOperation_RandomColorTintColor

OffsetFieldTypeFromAnnotations
0x8m_bEnabledCSmartPropAttributeBoolCSmartPropModifierMVDataEnableKey
0x50m_SelectionModeCSmartPropAttributeChoiceSelectionModeMPropertyDescription Specifies how the color is to be selected from the authored set of choices MPropertyFriendlyName Selection Mode
0x90m_ColorPositionCSmartPropAttributeFloatMPropertyDescription [ 0, 1 ] Value specifying the location on the gradient to pick the color from. MPropertyFriendlyName Color Position MPropertySuppressExpr ( m_SelectionMode != SPECIFIC )
0xd0m_ModeApplyColorMode_tMPropertyDescription Specifies how the selected color should be applied to the current color. MPropertyFriendlyName Application Mode
0xd8m_GradientCColorGradientMPropertyDescription 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":
		[
		]
	}
}