Cleaning up those dang warnings (#826)

* done i think

wahoo

* this one too

lol
This commit is contained in:
ThePurpleAnon
2024-04-07 16:25:54 -05:00
committed by GitHub
parent fe8753e554
commit 326ea3d895
52 changed files with 99 additions and 95 deletions

View File

@ -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)]

View File

@ -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) };
}

View File

@ -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)]

View File

@ -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) };
}

View File

@ -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) };
}

View File

@ -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) };
}

View File

@ -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) };
}

View File

@ -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) };
}

View File

@ -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) };
}

View File

@ -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) };
}

View File

@ -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) };
}

View File

@ -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) };
}

View File

@ -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)]

View File

@ -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) };
}

View File

@ -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 };

View File

@ -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) };
}

View File

@ -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) };
}

View File

@ -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) };
}

View File

@ -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) };
}

View File

@ -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) };