Editor.RenderStaticPreview

Switch to Manual
public Texture2D RenderStaticPreview (string assetPath, Object[] subAssets, int width, int height);

Description

Override this method if you want to render a static preview that shows.

If null is returned the builtin icon for the class type is used.