EditorGUIUtility.DrawCurveSwatch 绘制曲线样本

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

Parameters参数

Description描述

Draw a curve swatch.

绘制一个曲线样本。

Pass in the curve to draw either with the curve parameter or with the property parameter.

传递曲线来绘制,要么带有曲线参数或属性参数。

Page last updated: 2011-7-15