DrawRegionSwatch
Draw swatch with a filled region between two SerializedProperty curves.
Read time 1 minuteLast updated 10 days ago
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)