forked from BilalY/Rasagar
39 lines
1.0 KiB
C#
39 lines
1.0 KiB
C#
|
using System;
|
||
|
|
||
|
namespace UnityEngine.Rendering.Universal
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Settings class that stores the default volume profile for Volume Framework.
|
||
|
/// </summary>
|
||
|
[Serializable]
|
||
|
[SupportedOnRenderPipeline(typeof(UniversalRenderPipelineAsset))]
|
||
|
[Categorization.CategoryInfo(Name = "Volume", Order = 0)]
|
||
|
public class URPDefaultVolumeProfileSettings : IDefaultVolumeProfileSettings
|
||
|
{
|
||
|
#region Version
|
||
|
internal enum Version : int
|
||
|
{
|
||
|
Initial = 0,
|
||
|
}
|
||
|
|
||
|
[SerializeField][HideInInspector]
|
||
|
Version m_Version;
|
||
|
|
||
|
/// <summary>Current version.</summary>
|
||
|
public int version => (int)m_Version;
|
||
|
#endregion
|
||
|
|
||
|
[SerializeField]
|
||
|
VolumeProfile m_VolumeProfile;
|
||
|
|
||
|
/// <summary>
|
||
|
/// The default volume profile asset.
|
||
|
/// </summary>
|
||
|
public VolumeProfile volumeProfile
|
||
|
{
|
||
|
get => m_VolumeProfile;
|
||
|
set => this.SetValueAndNotify(ref m_VolumeProfile, value);
|
||
|
}
|
||
|
}
|
||
|
}
|