Temp() static private method

static private Temp ( float minBrightness, float maxBrightness, float minExposure, float maxExposure ) : ColorPickerHDRConfig
minBrightness float
maxBrightness float
minExposure float
maxExposure float
return ColorPickerHDRConfig
        public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
        {
            ColorUsageAttribute  attribute = (ColorUsageAttribute)base.attribute;
            ColorPickerHDRConfig hdrConfig = ColorPickerHDRConfig.Temp(attribute.minBrightness, attribute.maxBrightness, attribute.minExposureValue, attribute.maxExposureValue);

            EditorGUI.BeginChangeCheck();
            Color color = EditorGUI.ColorField(position, label, property.colorValue, true, attribute.showAlpha, attribute.hdr, hdrConfig);

            if (EditorGUI.EndChangeCheck())
            {
                property.colorValue = color;
            }
        }