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/DepthOfFieldModel.cs |  126 +++++++++++++++++++++---------------------
 1 files changed, 63 insertions(+), 63 deletions(-)

diff --git a/Assets/Plugins/PostProcessing/Runtime/Models/DepthOfFieldModel.cs b/Assets/Plugins/PostProcessing/Runtime/Models/DepthOfFieldModel.cs
index bde86cb..ab36055 100644
--- a/Assets/Plugins/PostProcessing/Runtime/Models/DepthOfFieldModel.cs
+++ b/Assets/Plugins/PostProcessing/Runtime/Models/DepthOfFieldModel.cs
@@ -1,63 +1,63 @@
-using System;
-
-namespace UnityEngine.PostProcessing
-{
-    [Serializable]
-    public class DepthOfFieldModel : PostProcessingModel
-    {
-        public enum KernelSize
-        {
-            Small,
-            Medium,
-            Large,
-            VeryLarge
-        }
-
-        [Serializable]
-        public struct Settings
-        {
-            [Min(0.1f), Tooltip("Distance to the point of focus.")]
-            public float focusDistance;
-
-            [Range(0.05f, 32f), Tooltip("Ratio of aperture (known as f-stop or f-number). The smaller the value is, the shallower the depth of field is.")]
-            public float aperture;
-
-            [Range(1f, 300f), Tooltip("Distance between the lens and the film. The larger the value is, the shallower the depth of field is.")]
-            public float focalLength;
-
-            [Tooltip("Calculate the focal length automatically from the field-of-view value set on the camera. Using this setting isn't recommended.")]
-            public bool useCameraFov;
-
-            [Tooltip("Convolution kernel size of the bokeh filter, which determines the maximum radius of bokeh. It also affects the performance (the larger the kernel is, the longer the GPU time is required).")]
-            public KernelSize kernelSize;
-
-            public static Settings defaultSettings
-            {
-                get
-                {
-                    return new Settings
-                    {
-                        focusDistance = 10f,
-                        aperture = 5.6f,
-                        focalLength = 50f,
-                        useCameraFov = false,
-                        kernelSize = KernelSize.Medium
-                    };
-                }
-            }
-        }
-
-        [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 DepthOfFieldModel : PostProcessingModel
+    {
+        public enum KernelSize
+        {
+            Small,
+            Medium,
+            Large,
+            VeryLarge
+        }
+
+        [Serializable]
+        public struct Settings
+        {
+            [Min(0.1f), Tooltip("Distance to the point of focus.")]
+            public float focusDistance;
+
+            [Range(0.05f, 32f), Tooltip("Ratio of aperture (known as f-stop or f-number). The smaller the value is, the shallower the depth of field is.")]
+            public float aperture;
+
+            [Range(1f, 300f), Tooltip("Distance between the lens and the film. The larger the value is, the shallower the depth of field is.")]
+            public float focalLength;
+
+            [Tooltip("Calculate the focal length automatically from the field-of-view value set on the camera. Using this setting isn't recommended.")]
+            public bool useCameraFov;
+
+            [Tooltip("Convolution kernel size of the bokeh filter, which determines the maximum radius of bokeh. It also affects the performance (the larger the kernel is, the longer the GPU time is required).")]
+            public KernelSize kernelSize;
+
+            public static Settings defaultSettings
+            {
+                get
+                {
+                    return new Settings
+                    {
+                        focusDistance = 10f,
+                        aperture = 5.6f,
+                        focalLength = 50f,
+                        useCameraFov = false,
+                        kernelSize = KernelSize.Medium
+                    };
+                }
+            }
+        }
+
+        [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