/*---------------------------------------------------------------- // ChromaKey 参数数据(随场景/预制体保存),供 ZZVideoRawImageDecoder 使用 //----------------------------------------------------------------*/ using UnityEngine; /// /// Leviathan YUV420P_ChromaKey 着色器参数 /// [System.Serializable] public class ZZVideoChromaKeyData { public Color keyColor = Color.green; [Range(0f, 1f)] public float cutoff = 0.2f; [Range(0f, 1f)] public float colorFeathering = 0.33f; [Range(0f, 1f)] public float maskFeathering = 1f; [Range(0f, 1f)] public float sharpening = 0.5f; }