UnityEditor.ColorPicker.HSVSliders C# (CSharp) Method

HSVSliders() private method

private HSVSliders ( ) : void
return void
        private void HSVSliders()
        {
            EditorGUI.BeginChangeCheck();
            float tonemappingExposureAdjusment = this.GetTonemappingExposureAdjusment();
            float colorScale = this.GetColorScale();
            this.m_HueTexture = Update1DSlider(this.m_HueTexture, 0x40, 1f, 1f, ref this.m_HueTextureS, ref this.m_HueTextureV, 0, true, 1f, -1f, this.m_RGBHSVSlidersDirty, this.m_HDRValues.m_TonemappingType);
            this.m_SatTexture = Update1DSlider(this.m_SatTexture, 0x20, this.m_H, Mathf.Max(this.m_V, 0.2f), ref this.m_SatTextureH, ref this.m_SatTextureV, 1, true, colorScale, tonemappingExposureAdjusment, this.m_RGBHSVSlidersDirty, this.m_HDRValues.m_TonemappingType);
            this.m_ValTexture = Update1DSlider(this.m_ValTexture, 0x20, this.m_H, this.m_S, ref this.m_ValTextureH, ref this.m_ValTextureS, 2, true, colorScale, tonemappingExposureAdjusment, this.m_RGBHSVSlidersDirty, this.m_HDRValues.m_TonemappingType);
            this.m_RGBHSVSlidersDirty = false;
            float displayScale = !this.m_HDR ? 255f : colorScale;
            string formatString = !this.m_HDR ? EditorGUI.kIntFieldFormatString : EditorGUI.kFloatFieldFormatString;
            this.m_H = this.TexturedSlider(this.m_HueTexture, "H", this.m_H, 0f, 1f, 359f, EditorGUI.kIntFieldFormatString, null);
            this.m_S = this.TexturedSlider(this.m_SatTexture, "S", this.m_S, 0f, 1f, !this.m_HDR ? 255f : 1f, formatString, null);
            this.m_V = this.TexturedSlider(this.m_ValTexture, "V", this.m_V, 0f, 1f, displayScale, formatString, null);
            if (EditorGUI.EndChangeCheck())
            {
                this.HSVToRGB();
            }
        }