您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
39 行
1.2 KiB
39 行
1.2 KiB
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using System;
|
|
|
|
namespace UnityEngine.Experimental.Rendering.HDPipeline
|
|
{
|
|
[GenerateHLSL]
|
|
public enum ColorPickerDebugMode
|
|
{
|
|
None,
|
|
Byte,
|
|
Byte4,
|
|
Float,
|
|
Float4,
|
|
}
|
|
|
|
[Serializable]
|
|
public class ColorPickerDebugSettings
|
|
{
|
|
public static string kColorPickerFontColor = "Font Color";
|
|
public static string kColorPickerThreshold0Debug = "Color Range Threshold 0";
|
|
public static string kColorPickerThreshold1Debug = "Color Range Threshold 1";
|
|
public static string kColorPickerThreshold2Debug = "Color Range Threshold 2";
|
|
public static string kColorPickerThreshold3Debug = "Color Range Threshold 3";
|
|
public static string kColorPickerDebugMode = "Color Picker Debug Mode";
|
|
|
|
public ColorPickerDebugMode colorPickerMode = ColorPickerDebugMode.None;
|
|
public Color fontColor = new Color(1.0f, 0.0f, 0.0f);
|
|
|
|
public float colorThreshold0 = 0.0f;
|
|
public float colorThreshold1 = 200.0f;
|
|
public float colorThreshold2 = 9000.0f;
|
|
public float colorThreshold3 = 10000.0f;
|
|
|
|
public void OnValidate()
|
|
{
|
|
}
|
|
}
|
|
}
|