ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


DrawRegionSwatch

Draw swatch with a filled region between two SerializedProperty curves.
読み終わるまでの所要時間 1 分最終更新 24日前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

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

position




color


bgColor


curveRanges

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)

Parameters

position




color


bgColor


curveRanges