public static void DrawWaveformPreview(WaveformPreview preview, Rect rect) { if (preview != null) { preview.ApplyModifications(); preview.Render(rect); } }