static function DrawCurveSwatch (position : Rect, curve : AnimationCurve, property : SerializedProperty, color : Color, bgColor : Color) : void
static function DrawCurveSwatch (position : Rect, curve : AnimationCurve, property : SerializedProperty, color : Color, bgColor : Color, curveRanges : Rect) : void
Description描述
Draw a curve swatch.
绘制一个曲线样本。
Pass in the curve to draw either with the curve parameter or with the property parameter.
传递曲线来绘制,要么带有曲线参数或属性参数。