HSVFoldout = EditorGUILayout.BeginFoldoutHeaderGroup(HSVFoldout, "HSV变化功能");
if (HSVFoldout)
{
EditorGUI.indentLevel++;
globalFoldout = EditorGUILayout.BeginFoldoutHeaderGroup(globalFoldout, "全局通道");
if (globalFoldout)
{
EditorGUI.indentLevel++;
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "全局色相偏移"; materialEditor.ShaderProperty(_props.GlobalHueShift, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "全局对比度"; materialEditor.ShaderProperty(_props.GlobalSaturation, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "全局亮度"; materialEditor.ShaderProperty(_props.GlobalValue, new GUIContent(str)); }
EditorGUI.indentLevel--;
}
EditorGUI.indentLevel--;
using (new EditorGUILayout.VerticalScope("helpbox"))
{
GUILayout.Label("红色通道");
using (new EditorGUILayout.VerticalScope("helpbox"))
{
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "红色色相偏移"; materialEditor.ShaderProperty(_props.RedHueShift, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "红色对比度"; materialEditor.ShaderProperty(_props.RedSaturation, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "红色亮度"; materialEditor.ShaderProperty(_props.RedValue, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "红色色相偏移范围"; materialEditor.ShaderProperty(_props.RedRange, new GUIContent(str)); }
}
}
using (new EditorGUILayout.VerticalScope("helpbox"))
{
GUILayout.Label("黄色通道");
using (new EditorGUILayout.VerticalScope("helpbox"))
{
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "黄色色相偏移"; materialEditor.ShaderProperty(_props.YellowHueShift, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "黄色对比度"; materialEditor.ShaderProperty(_props.YellowSaturation, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "黄色亮度"; materialEditor.ShaderProperty(_props.YellowValue, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "黄色色相偏移范围"; materialEditor.ShaderProperty(_props.YellowRange, new GUIContent(str)); }
}
}
using (new EditorGUILayout.VerticalScope("helpbox"))
{
GUILayout.Label("绿色通道");
using (new EditorGUILayout.VerticalScope("helpbox"))
{
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "绿色色相偏移"; materialEditor.ShaderProperty(_props.GreenHueShift, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "绿色对比度"; materialEditor.ShaderProperty(_props.GreenSaturation, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "绿色亮度"; materialEditor.ShaderProperty(_props.GreenValue, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "绿色色相偏移范围"; materialEditor.ShaderProperty(_props.GreenRange, new GUIContent(str)); }
}
}
using (new EditorGUILayout.VerticalScope("helpbox"))
{
GUILayout.Label("靛青色通道");
using (new EditorGUILayout.VerticalScope("helpbox"))
{
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "靛青色相偏移"; materialEditor.ShaderProperty(_props.CyanHueShift, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "靛青对比度"; materialEditor.ShaderProperty(_props.CyanSaturation, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "靛青亮度"; materialEditor.ShaderProperty(_props.CyanValue, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "靛青色相偏移范围"; materialEditor.ShaderProperty(_props.CyanRange, new GUIContent(str)); }
}
}
using (new EditorGUILayout.VerticalScope("helpbox"))
{
GUILayout.Label("蓝色通道");
using (new EditorGUILayout.VerticalScope("helpbox"))
{
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "蓝色色相偏移"; materialEditor.ShaderProperty(_props.BlueHueShift, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "蓝色对比度"; materialEditor.ShaderProperty(_props.BlueSaturation, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "蓝色亮度"; materialEditor.ShaderProperty(_props.BlueValue, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "蓝色色相偏移范围"; materialEditor.ShaderProperty(_props.BlueRange, new GUIContent(str)); }
}
}
using (new EditorGUILayout.VerticalScope("helpbox"))
{
GUILayout.Label("品红色通道");
using (new EditorGUILayout.VerticalScope("helpbox"))
{
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "品红色色相偏移"; materialEditor.ShaderProperty(_props.MagentaHueShift, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "品红色对比度"; materialEditor.ShaderProperty(_props.MagentaSaturation, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "品红色亮度"; materialEditor.ShaderProperty(_props.MagentaValue, new GUIContent(str)); }
using (new EditorGUILayout.VerticalScope("helpbox"))
{ string str = "品红色色相偏移范围"; materialEditor.ShaderProperty(_props.MagentaRange, new GUIContent(str)); }
}
}
}
EditorGUILayout.EndFoldoutHeaderGroup();
}