tModLoader v2024.03
A mod to make and play Terraria mods
ColorHSLSliderAttribute Class Reference

Add this attribute to a Color item and the UI will present a Hue, Saturation, and Lightness sliders rather than Red, Green, and Blue sliders. Pass in false to skip Saturation and Lightness. More...

Inherits Attribute.

Public Member Functions

 ColorHSLSliderAttribute (bool showSaturationAndLightness=true)
 

Properties

bool ShowSaturationAndLightness [get]
 

Detailed Description

Add this attribute to a Color item and the UI will present a Hue, Saturation, and Lightness sliders rather than Red, Green, and Blue sliders. Pass in false to skip Saturation and Lightness.