This version of Unity is unsupported.

MaterialEditor.OnPreviewGUI

Declaration

public void OnPreviewGUI(Rect r, GUIStyle background);

Parameters

r Rectangle in which to draw the preview.
background Background image.

Description

Custom preview for Image component.