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.

Additional resources: ObjectPreview.OnPreviewGUI.


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