MeshPreview.OnPreviewGUI

Declaration

public void OnPreviewGUI(Rect rect, GUIStyle background);

Parameters

rect Rectangle in which to draw the preview.
background The background style.

Description

Call this from an Editor.OnPreviewGUI or ObjectPreview.OnPreviewGUI to draw a mesh preview.


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