/// <summary>
 ///   Reset the entire configuration of the object.
 /// </summary>
 /// <param name="lockedAttribute"></param>
 /// <param name="lockedAttributeValue"></param>
 public void Configure(GUIColorPicker.ColorAttr lockedAttribute, VoxelColor selectedColor)
 {
   this._lockedAttr = lockedAttribute;
   this._selectedColor.Set(selectedColor);
   this.Refresh();
 }
 /// <summary>
 ///   Create a new square color texture.
 /// </summary>
 /// <param name="width"></param>
 /// <param name="height"></param>
 public LineColorPickerTexture(int width, int height)
 {
   this._texture = new Texture2D(width, height);
   this._lockedAttr = GUIColorPicker.ColorAttr.Hue;
   this._selectedColor = new VoxelColor();
   this.Refresh();
 }