GUILargeColorPicker

From Virtual World Web Wiki
Jump to: navigation, search

A component allowing people to customize a color choice through HSV and RGB options

  • Inherits class: GUIComponent
  • This is a JavaScript visible object

Remarks [edit]

Properties

float AlphaValue {get; set;}
Value of the alpha channel of the current color (0-1)
GUISprite BackgroundSprite {get;}
Reference to the background sprite of the entire color picker
GUILabel BlueLabel {get;}
Reference to the label for the blue channel
GUISlider BlueSlider {get;}
Reference to the slider that handles the blue channel
float BlueValue {get; set;}
Value of the blue channel of the current color (0-1)
Color32 Color {get; set;}
Full color value of the current color
GUIImageBox ColorPreview {get;}
Reference to the imagebox that displays the preview color
bool Enabled {get; set;}
GUILabel GreenLabel {get;}
Reference to the label for the green channel
GUISlider GreenSlider {get;}
Reference to the slider that handles the green channel
float GreenValue {get; set;}
Value of the green channel of the current color (0-1)
GUITextField HexField {get;}
Reference to the text field which displays the hex value of the color
GUIPanel Panel {get;}
Reference to the panel that holds the sliders
GUILabel RedLabel {get;}
Reference to the label for the red channel
GUISlider RedSlider {get;}
Reference to the slider that handles the red channel
float RedValue {get; set;}
Value of the red channel of the current color (0-1)

Events

OnColorChange()
Event fired when the color value is adjusted