public static GetPropertyPreview ( int previewWidth, int previewHeight, bool useCurveRanges, |
||
previewWidth | int | |
previewHeight | int | |
useCurveRanges | bool | |
curveRanges | ||
property | UnityEditor.SerializedProperty | |
color | Color | |
return |
public static Texture2D GetPreview(int previewWidth, int previewHeight, SerializedProperty property, SerializedProperty property2, Color color, Rect curveRanges) { if (property2 == null) { return(AnimationCurvePreviewCache.GetPropertyPreview(previewWidth, previewHeight, true, curveRanges, property, color)); } return(AnimationCurvePreviewCache.GetPropertyPreviewRegion(previewWidth, previewHeight, true, curveRanges, property, property2, color)); }
public static Texture2D GetPreview(int previewWidth, int previewHeight, SerializedProperty property, SerializedProperty property2, Color color) { if (property2 == null) { return(AnimationCurvePreviewCache.GetPropertyPreview(previewWidth, previewHeight, false, default(Rect), property, color)); } return(AnimationCurvePreviewCache.GetPropertyPreviewRegion(previewWidth, previewHeight, false, default(Rect), property, property2, color)); }
public static Texture2D GetPreview(int previewWidth, int previewHeight, SerializedProperty property, Color color) { return(AnimationCurvePreviewCache.GetPropertyPreview(previewWidth, previewHeight, false, new Rect(), property, color)); }