Class AssetPreview
Assembly: UnityEditor.dll
Syntax
public sealed class AssetPreview
Methods
|
Improve this Doc
View Source
GetAssetPreview(Object)
Declaration
public static Texture2D GetAssetPreview(Object asset)
Parameters
Type |
Name |
Description |
Object |
asset |
|
Returns
|
Improve this Doc
View Source
GetMiniThumbnail(Object)
Declaration
public static Texture2D GetMiniThumbnail(Object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
|
Improve this Doc
View Source
GetMiniTypeThumbnail(Type)
Declaration
public static Texture2D GetMiniTypeThumbnail(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
|
Improve this Doc
View Source
IsLoadingAssetPreview(Int32)
Declaration
public static bool IsLoadingAssetPreview(int instanceID)
Parameters
Type |
Name |
Description |
Int32 |
instanceID |
|
Returns
|
Improve this Doc
View Source
IsLoadingAssetPreviews()
Declaration
public static bool IsLoadingAssetPreviews()
Returns
|
Improve this Doc
View Source
SetPreviewTextureCacheSize(Int32)
Declaration
public static void SetPreviewTextureCacheSize(int size)
Parameters
Type |
Name |
Description |
Int32 |
size |
|
Extension Methods