Documentation

Unity Engine

Download Unity

Unity Engine

OnMaterialPreviewSettingsGUI(MaterialEditor)

Override for extending the functionality of the toolbar of the preview area or completly replace the toolbar by not calling base.OnMaterialPreviewSettingsGUI.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public virtual void OnMaterialPreviewSettingsGUI(MaterialEditor materialEditor)

Parameters

materialEditor

The MaterialEditor that are calling this method (the 'owner').