Version: 2017.2

AssetPreview.GetMiniThumbnail

Switch to Manual
public static Texture2D GetMiniThumbnail (Object obj);

Description

Returns the thumbnail for an object (like the ones you see in the project view).