r2mods/ilspy_dump/ror2_csproj/SobelOutline.cs

23 lines
554 B
C#

using System;
using UnityEngine;
using UnityEngine.Rendering.PostProcessing;
[Serializable]
[PostProcess(typeof(SobelOutlineRenderer), PostProcessEvent.BeforeTransparent, "PostProcess/SobelOutline", true)]
public sealed class SobelOutline : PostProcessEffectSettings
{
[Range(0f, 5f)]
[Tooltip("The intensity of the outline.")]
public FloatParameter outlineIntensity = new FloatParameter
{
value = 0.5f
};
[Range(0f, 10f)]
[Tooltip("The falloff of the outline.")]
public FloatParameter outlineScale = new FloatParameter
{
value = 1f
};
}