From a10eea6e4ce647061813519d5b0ea496f29495b9 Mon Sep 17 00:00:00 2001
From: leonard Wu <364452445@qq.com>
Date: 星期四, 09 八月 2018 09:47:08 +0800
Subject: [PATCH] 同步最新svn内容
---
Assets/Plugins/PostProcessing/Runtime/Models/ChromaticAberrationModel.cs | 86 +++++++++++++++++++++---------------------
1 files changed, 43 insertions(+), 43 deletions(-)
diff --git a/Assets/Plugins/PostProcessing/Runtime/Models/ChromaticAberrationModel.cs b/Assets/Plugins/PostProcessing/Runtime/Models/ChromaticAberrationModel.cs
index 2788167..3cd50cb 100644
--- a/Assets/Plugins/PostProcessing/Runtime/Models/ChromaticAberrationModel.cs
+++ b/Assets/Plugins/PostProcessing/Runtime/Models/ChromaticAberrationModel.cs
@@ -1,43 +1,43 @@
-using System;
-
-namespace UnityEngine.PostProcessing
-{
- [Serializable]
- public class ChromaticAberrationModel : PostProcessingModel
- {
- [Serializable]
- public struct Settings
- {
- [Tooltip("Shift the hue of chromatic aberrations.")]
- public Texture2D spectralTexture;
-
- [Range(0f, 1f), Tooltip("Amount of tangential distortion.")]
- public float intensity;
-
- public static Settings defaultSettings
- {
- get
- {
- return new Settings
- {
- spectralTexture = null,
- intensity = 0.1f
- };
- }
- }
- }
-
- [SerializeField]
- Settings m_Settings = Settings.defaultSettings;
- public Settings settings
- {
- get { return m_Settings; }
- set { m_Settings = value; }
- }
-
- public override void Reset()
- {
- m_Settings = Settings.defaultSettings;
- }
- }
-}
+using System;
+
+namespace UnityEngine.PostProcessing
+{
+ [Serializable]
+ public class ChromaticAberrationModel : PostProcessingModel
+ {
+ [Serializable]
+ public struct Settings
+ {
+ [Tooltip("Shift the hue of chromatic aberrations.")]
+ public Texture2D spectralTexture;
+
+ [Range(0f, 1f), Tooltip("Amount of tangential distortion.")]
+ public float intensity;
+
+ public static Settings defaultSettings
+ {
+ get
+ {
+ return new Settings
+ {
+ spectralTexture = null,
+ intensity = 0.1f
+ };
+ }
+ }
+ }
+
+ [SerializeField]
+ Settings m_Settings = Settings.defaultSettings;
+ public Settings settings
+ {
+ get { return m_Settings; }
+ set { m_Settings = value; }
+ }
+
+ public override void Reset()
+ {
+ m_Settings = Settings.defaultSettings;
+ }
+ }
+}
--
Gitblit v1.8.0