PreviewRenderUtility.EndAndDrawPreview - CyberFoxHax/Unity3D_PreviewRenderUtility_Documentation GitHub Wiki

public void EndAndDrawPreview(Rect r);

Description

Renders and draws the preview in the GUI. Must be used in a GUI context. Rect r is for output coordinates.