UnityEditor.ShaderGUI.OnMaterialPreviewSettingsGUI C# (CSharp) Method

OnMaterialPreviewSettingsGUI() public method

Override for extending the functionality of the toolbar of the preview area or completly replace the toolbar by not calling base.OnMaterialPreviewSettingsGUI.

public OnMaterialPreviewSettingsGUI ( MaterialEditor materialEditor ) : void
materialEditor MaterialEditor The MaterialEditor that are calling this method (the 'owner').
return void
        public virtual void OnMaterialPreviewSettingsGUI(MaterialEditor materialEditor)
        {
            materialEditor.DefaultPreviewSettingsGUI();
        }
    }