DrawRegionSwatch
Draw swatch with a filled region between two SerializedProperty curves.
阅读时间1 分钟最后更新于 23 天前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
DrawRegionSwatch(Rect, SerializedProperty, SerializedProperty, Color, Color, Rect)
Draw swatch with a filled region between two SerializedProperty curves.
public static void DrawRegionSwatch(Rect position, SerializedProperty property, SerializedProperty property2, Color color, Color bgColor, Rect curveRanges)
Parameters
DrawRegionSwatch(Rect, AnimationCurve, AnimationCurve, Color, Color, Rect)
Draw swatch with a filled region between two curves.
public static void DrawRegionSwatch(Rect position, AnimationCurve curve, AnimationCurve curve2, Color color, Color bgColor, Rect curveRanges)