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