Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

EditorGUIUtility.DrawRegionSwatch

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.


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.

Did you find this page useful? Please give it a rating: