mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 13:57:38 +02:00
Cleaning up those dang warnings (#826)
* done i think wahoo * this one too lol
This commit is contained in:
@ -21,7 +21,7 @@ namespace XPostProcessing
|
||||
public class ColorAdjustmentLensFilter : PostProcessEffectSettings
|
||||
{
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter LensColor = new ColorParameter { value = new Color(1.0f, 1.0f, 0.1f, 1) };
|
||||
|
||||
[Range(0.0f, 1.0f)]
|
||||
|
@ -25,7 +25,7 @@ namespace XPostProcessing
|
||||
[Range(0.0f, 1.0f)]
|
||||
public FloatParameter indensity = new FloatParameter { value = 0.1f };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter colorTint = new ColorParameter { value = new Color(0.9f, 1.0f, 0.0f, 1) };
|
||||
}
|
||||
|
||||
|
@ -22,10 +22,10 @@ namespace XPostProcessing
|
||||
public class ColorReplace : PostProcessEffectSettings
|
||||
{
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter FromColor = new ColorParameter { value = new Color(0.8f, 0.0f, 0.0f, 1) };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter ToColor = new ColorParameter { value = new Color(0.0f, 0.8f, 0.0f, 1) };
|
||||
|
||||
[Range(0.0f, 1.0f)]
|
||||
|
@ -25,13 +25,13 @@ namespace XPostProcessing
|
||||
[Range(0.05f, 5.0f)]
|
||||
public FloatParameter edgeWidth = new FloatParameter { value = 0.3f };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter edgeColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1) };
|
||||
|
||||
[Range(0.0f, 1.0f)]
|
||||
public FloatParameter backgroundFade = new FloatParameter { value = 1f };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter backgroundColor = new ColorParameter { value = new Color(1.0f, 1.0f, 1.0f, 1) };
|
||||
}
|
||||
|
||||
|
@ -31,7 +31,7 @@ namespace XPostProcessing
|
||||
[Range(0.2f, 2.0f)]
|
||||
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1) };
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ namespace XPostProcessing
|
||||
[Range(0.2f, 2.0f)]
|
||||
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1.0f) };
|
||||
}
|
||||
|
||||
|
@ -25,13 +25,13 @@ namespace XPostProcessing
|
||||
[Range(0.05f, 5.0f)]
|
||||
public FloatParameter edgeWidth = new FloatParameter { value = 0.3f };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter edgeColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1) };
|
||||
|
||||
[Range(0.0f, 1.0f)]
|
||||
public FloatParameter backgroundFade = new FloatParameter { value = 1f };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter backgroundColor = new ColorParameter { value = new Color(1.0f, 1.0f, 1.0f, 1) };
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,7 @@ namespace XPostProcessing
|
||||
[Range(0.2f, 2.0f)]
|
||||
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1.0f) };
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ namespace XPostProcessing
|
||||
[Range(0.2f, 2.0f)]
|
||||
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1.0f) };
|
||||
}
|
||||
|
||||
|
@ -25,13 +25,13 @@ namespace XPostProcessing
|
||||
[Range(0.05f, 5.0f)]
|
||||
public FloatParameter edgeWidth = new FloatParameter { value = 0.3f };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter edgeColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1) };
|
||||
|
||||
[Range(0.0f, 1.0f)]
|
||||
public FloatParameter backgroundFade = new FloatParameter { value = 1f };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter backgroundColor = new ColorParameter { value = new Color(1.0f, 1.0f, 1.0f, 1) };
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,7 @@ namespace XPostProcessing
|
||||
[Range(0.2f, 2.0f)]
|
||||
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1.0f) };
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ namespace XPostProcessing
|
||||
[Range(0.2f, 2.0f)]
|
||||
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1.0f) };
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,7 @@ namespace XPostProcessing
|
||||
|
||||
public BoolParameter needStripColorAdjust = new BoolParameter { value = false };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter StripColorAdjustColor = new ColorParameter { value = new Color(0.1f, 0.1f, 0.1f) };
|
||||
|
||||
[Range(0, 10)]
|
||||
|
@ -29,7 +29,7 @@ namespace XPostProcessing
|
||||
public FloatParameter pixelIntervalX = new FloatParameter { value = 1f };
|
||||
[Range(0.2f, 5.0f), Tooltip("Pixel interval Y")]
|
||||
public FloatParameter pixelIntervalY = new FloatParameter { value = 1f };
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f) };
|
||||
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ namespace XPostProcessing
|
||||
[Range(0.01f, 1.0f)]
|
||||
public FloatParameter ledRadius = new FloatParameter { value = 1.0f };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f) };
|
||||
|
||||
public BoolParameter useAutoScreenRatio = new BoolParameter { value = true };
|
||||
|
@ -29,7 +29,7 @@ namespace XPostProcessing
|
||||
public FloatParameter pixelIntervalX = new FloatParameter { value = 1f };
|
||||
[Range(0.2f, 5.0f), Tooltip("Pixel interval Y")]
|
||||
public FloatParameter pixelIntervalY = new FloatParameter { value = 1f };
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f) };
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,7 @@ namespace XPostProcessing
|
||||
|
||||
public Vector2Parameter vignetteCenter = new Vector2Parameter { value = new Vector2(0.5f, 0.5f) };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter vignetteColor = new ColorParameter { value = new Color(0.1f, 0.8f, 1.0f) };
|
||||
}
|
||||
|
||||
|
@ -29,7 +29,7 @@ namespace XPostProcessing
|
||||
[Range(0.0f, 1.0f)]
|
||||
public FloatParameter sizeOffset = new FloatParameter { value = 0.2f };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter vignetteColor = new ColorParameter { value = new Color(0.1f, 0.8f, 1.0f) };
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@ namespace XPostProcessing
|
||||
|
||||
public Vector2Parameter vignetteCenter = new Vector2Parameter { value = new Vector2(0.5f, 0.5f) };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter vignetteColor = new ColorParameter { value = new Color(0.1f, 0.8f, 1.0f) };
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ namespace XPostProcessing
|
||||
|
||||
public Vector2Parameter vignetteCenter = new Vector2Parameter { value = new Vector2(0.5f, 0.5f) };
|
||||
|
||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
||||
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||
public ColorParameter vignetteColor = new ColorParameter { value = new Color(0.1f, 0.8f, 1.0f) };
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user