Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AssetPreview.GetMiniThumbnail

static function GetMiniThumbnail(obj: Object): Texture2D;
static Texture2D GetMiniThumbnail(Object obj);
static def GetMiniThumbnail(obj as Object) as Texture2D

Description

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