UnityEditor.LightingWindowObjectTab.RendererUVSettings C# (CSharp) Method

RendererUVSettings() private method

private RendererUVSettings ( SerializedObject so ) : void
so SerializedObject
return void
        private void RendererUVSettings(SerializedObject so)
        {
            SerializedProperty property = so.FindProperty("m_PreserveUVs");
            EditorGUILayout.PropertyField(property, s_Styles.PreserveUVs, new GUILayoutOption[0]);
            bool boolValue = property.boolValue;
            using (new EditorGUI.DisabledScope(boolValue))
            {
                SerializedProperty property2 = so.FindProperty("m_AutoUVMaxDistance");
                EditorGUILayout.PropertyField(property2, s_Styles.AutoUVMaxDistance, new GUILayoutOption[0]);
                if (property2.floatValue < 0f)
                {
                    property2.floatValue = 0f;
                }
                EditorGUILayout.Slider(so.FindProperty("m_AutoUVMaxAngle"), 0f, 180f, s_Styles.AutoUVMaxAngle, new GUILayoutOption[0]);
            }
            EditorGUILayout.PropertyField(so.FindProperty("m_IgnoreNormalsForChartDetection"), s_Styles.IgnoreNormalsForChartDetection, new GUILayoutOption[0]);
            EditorGUILayout.IntPopup(so.FindProperty("m_MinimumChartSize"), s_Styles.MinimumChartSizeStrings, s_Styles.MinimumChartSizeValues, s_Styles.MinimumChartSize, new GUILayoutOption[0]);
        }