Version: 2017.3
public static void DrawCurve (Rect r, AudioCurveRendering.AudioCurveEvaluator eval, Color curveColor);

Parameters

r Rectangle determining the size of the graph.
eval Curve evaluation function.
curveColor Solid fill color of the curve. The alpha-channel determines the amount of opacity.

Description

Renders a thin curve determined by the curve evaluation function. The solid color of the curve is set by the curveColor argument.