GetCurvePreview() public static method

public static GetCurvePreview ( int previewWidth, int previewHeight, bool useCurveRanges, Rect curveRanges, AnimationCurve curve, Color color ) : Texture2D
previewWidth int
previewHeight int
useCurveRanges bool
curveRanges UnityEngine.Rect
curve UnityEngine.AnimationCurve
color Color
return UnityEngine.Texture2D
Exemplo n.º 1
0
 public static Texture2D GetPreview(int previewWidth, int previewHeight, AnimationCurve curve, Color color)
 {
     return(AnimationCurvePreviewCache.GetCurvePreview(previewWidth, previewHeight, false, default(Rect), curve, color));
 }
Exemplo n.º 2
0
 public static Texture2D GetPreview(int previewWidth, int previewHeight, AnimationCurve curve, Color color, Rect curveRanges)
 {
     return(AnimationCurvePreviewCache.GetCurvePreview(previewWidth, previewHeight, true, curveRanges, curve, color));
 }