public static GetCurvePreviewRegionFilled ( int previewWidth, int previewHeight, bool useCurveRanges, |
||
previewWidth | int | |
previewHeight | int | |
useCurveRanges | bool | |
curveRanges | ||
curve | ||
curve2 | ||
color | Color | |
topFillColor | Color | |
bottomFillColor | Color | |
return |
public static Texture2D GetPreview(int previewWidth, int previewHeight, AnimationCurve curve, AnimationCurve curve2, Color color, Color topFillColor, Color bottomFillColor) { return(AnimationCurvePreviewCache.GetCurvePreviewRegionFilled(previewWidth, previewHeight, false, default(Rect), curve, curve2, color, topFillColor, bottomFillColor)); }
public static Texture2D GetPreview(int previewWidth, int previewHeight, AnimationCurve curve, AnimationCurve curve2, Color color, Color topFillColor, Color bottomFillColor, Rect curveRanges) { return(AnimationCurvePreviewCache.GetCurvePreviewRegionFilled(previewWidth, previewHeight, true, curveRanges, curve, curve2, color, topFillColor, bottomFillColor)); }