기술 자료

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분최근 업데이트: 한 달 전

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.