Terraria ModLoader  0.11.4
A framework for 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

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

Member Data Documentation

bool Terraria.ModLoader.Config.ColorHSLSliderAttribute.showSaturationAndLightness

Definition at line 335 of file ConfigAttributes.cs.