- Dota 2
- smartprops
- CSmartPropOperation
- CSmartPropOperation_MaterialTint
- Metadata
- MPropertyDescription: "Set a color tint to apply to a specific material."MPropertyFriendlyName: "Material Color Tint"MVDataClassGroup: "Color"
- Also in
- Counter-Strike 2
Fields
NameTypeOffset
MPropertyDescription: "Material to which color tint is to be applied."
MPropertyFriendlyName: "Material"
MPropertyAttributeEditor: "SmartPropAttributeEditor(MaterialInSmartProp)"
CSmartPropAttributeColorSelectionMode = "SPECIFIC_COLOR"
MPropertyDescription: "Specifies how the color is to be specified."
MPropertyFriendlyName: "Selection Mode"
CSmartPropAttributeColor = [255,255,255]
MPropertyDescription: "Color to be applied if this choice is selected."
MPropertySuppressExpr: "m_SelectionMode != SPECIFIC_COLOR"
CColorGradient = {"m_Stops":[]}
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"
MPropertyDescription: "[ 0, 1 ] Value specifying the location on the gradient to pick the color from."
MPropertyFriendlyName: "Color Position"
MPropertySuppressExpr: "m_SelectionMode != GRADIENT_LOCATION"