tModLoader v0.11.8.9
A mod to make and play Terraria mods
Terraria.ModLoader.Config.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...

+ Inheritance diagram for Terraria.ModLoader.Config.ColorHSLSliderAttribute:
+ Collaboration diagram for Terraria.ModLoader.Config.ColorHSLSliderAttribute:

Public Member Functions

 ColorHSLSliderAttribute (bool showSaturationAndLightness=true)
 

Public Attributes

bool showSaturationAndLightness
 

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.

Definition at line 333 of file ConfigAttributes.cs.

Constructor & Destructor Documentation

◆ ColorHSLSliderAttribute()

Terraria.ModLoader.Config.ColorHSLSliderAttribute.ColorHSLSliderAttribute ( bool  showSaturationAndLightness = true)

Member Data Documentation

◆ showSaturationAndLightness

bool Terraria.ModLoader.Config.ColorHSLSliderAttribute.showSaturationAndLightness