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.

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

最后修改:2011年7月15日 Friday 12:52

本脚本参考基于Unity 3.4.1f5

英文部分版权属©Unity公司所有,中文部分© Unity圣典 版权所有,未经许可,严禁转载 。