MaterialEditor.OnPreviewGUI

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.

Did you find this page useful? Please give it a rating: