Preview Window in Editor

Hey guys,

I have recently dived into custom editor scripting…
What I would like to know is, what is the code for the preview window?
(The window that is displayed in the inspector when you select a FBX model, prefab)

I can’t find anything in relation to this…is there a work around?
I saw a previous post on this, but no correct answer was given…

Thanks in advance
Etienne Cowley

Don’t know if you’ve found a solution yet, but take a look at Unity - Scripting API: AssetPreview.GetAssetPreview

It seems limited in its uses to me, since it only yields a 128x128 texture, but it’s a start.

@Annihilator I’ve just finished my own preview asset, maybe it will be useful for you: https://forum.unity3d.com/threads/powerful-preview.460157/