ドキュメント

Unity Engine

Unity Engine

DrawCurve(Rect, AudioCurveEvaluator, Color)

Renders a thin curve determined by the curve evaluation function. The solid color of the curve is set by the curveColor argument.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void DrawCurve(Rect r, AudioCurveRendering.AudioCurveEvaluator eval, Color curveColor)

Parameters

Rectangle determining the size of the graph.

Curve evaluation function.

curveColor

Solid fill color of the curve. The alpha-channel determines the amount of opacity.