projectEli/Assets/NeoFPS/Core/Camera/PostProcessLayerSettings.cs
2022-11-06 20:28:33 -05:00

32 lines
1.0 KiB
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_POST_PROCESSING_STACK_V2
using UnityEngine.Rendering.PostProcessing;
#endif
namespace NeoFPS
{
[HelpURL("https://docs.neofps.com/manual/fpcamref-so-postprocesslayersettings.html")]
[CreateAssetMenu(fileName = "PostProcessLayerSettings", menuName = "NeoFPS/PostProcessing/PostProcessLayerSettings", order = NeoFpsMenuPriorities.ungrouped_postProcessSettings)]
public class PostProcessLayerSettings : ScriptableObject
{
#if UNITY_POST_PROCESSING_STACK_V2
[SerializeField]
private PostProcessLayer.Antialiasing m_AntiAliasing = PostProcessLayer.Antialiasing.FastApproximateAntialiasing;
[SerializeField]
private PostProcessResources m_Resources = null;
public PostProcessLayer.Antialiasing antiAliasing
{
get { return m_AntiAliasing; }
}
public PostProcessResources resources
{
get { return m_Resources; }
set { m_Resources = value; }
}
#endif
}
}