UnityEditor.TextureImporterInspector.CubemapMappingGUI C# (CSharp) Method

CubemapMappingGUI() private method

private CubemapMappingGUI ( TextureInspectorGUIElement guiElements ) : void
guiElements TextureInspectorGUIElement
return void
        private void CubemapMappingGUI(TextureInspectorGUIElement guiElements)
        {
            this.m_ShowCubeMapSettings.target = this.m_TextureShape.intValue == 2;
            if (EditorGUILayout.BeginFadeGroup(this.m_ShowCubeMapSettings.faded) && (this.m_TextureShape.intValue == 2))
            {
                using (new EditorGUI.DisabledScope(!this.m_IsPOT && (this.m_NPOTScale.intValue == 0)))
                {
                    EditorGUI.showMixedValue = this.m_GenerateCubemap.hasMultipleDifferentValues || this.m_SeamlessCubemap.hasMultipleDifferentValues;
                    EditorGUI.BeginChangeCheck();
                    int num = EditorGUILayout.IntPopup(s_Styles.cubemap, this.m_GenerateCubemap.intValue, s_Styles.cubemapOptions, s_Styles.cubemapValues2, new GUILayoutOption[0]);
                    if (EditorGUI.EndChangeCheck())
                    {
                        this.m_GenerateCubemap.intValue = num;
                    }
                    EditorGUI.indentLevel++;
                    if (this.ShouldDisplayGUIElement(guiElements, TextureInspectorGUIElement.CubeMapConvolution))
                    {
                        EditorGUILayout.IntPopup(this.m_CubemapConvolution, s_Styles.cubemapConvolutionOptions, s_Styles.cubemapConvolutionValues, s_Styles.cubemapConvolution, new GUILayoutOption[0]);
                    }
                    this.ToggleFromInt(this.m_SeamlessCubemap, s_Styles.seamlessCubemap);
                    EditorGUI.indentLevel--;
                    EditorGUI.showMixedValue = false;
                    EditorGUILayout.Space();
                }
            }
            EditorGUILayout.EndFadeGroup();
        }