Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

EditorGUIUtility.DrawRegionSwatch

Declaration

public static void DrawRegionSwatch(Rect position, SerializedProperty property, SerializedProperty property2, Color color, Color bgColor, Rect curveRanges);

Description

Draw swatch with a filled region between two SerializedProperty curves.


Declaration

public static void DrawRegionSwatch(Rect position, AnimationCurve curve, AnimationCurve curve2, Color color, Color bgColor, Rect curveRanges);

Description

Draw swatch with a filled region between two curves.