public DefaultPreviewGUI ( |
||
r | ||
background | ||
return | void |
/// <summary> /// <para>Override for extending the rendering of the Preview area or completly replace the preview (by not calling base.OnMaterialPreviewGUI).</para> /// </summary> /// <param name="materialEditor">The MaterialEditor that are calling this method (the 'owner').</param> /// <param name="r">Preview rect.</param> /// <param name="background">Style for the background.</param> public virtual void OnMaterialPreviewGUI(MaterialEditor materialEditor, Rect r, GUIStyle background) { materialEditor.DefaultPreviewGUI(r, background); }
/// <summary> /// <para>Override for extending the rendering of the Preview area or completly replace the preview (by not calling base.OnMaterialPreviewGUI).</para> /// </summary> /// <param name="materialEditor">The MaterialEditor that are calling this method (the 'owner').</param> /// <param name="r">Preview rect.</param> /// <param name="background">Style for the background.</param> public virtual void OnMaterialPreviewGUI(MaterialEditor materialEditor, Rect r, GUIStyle background) { materialEditor.DefaultPreviewGUI(r, background); }