Skip to content

PreviewManager

ClassAssetInventoryAssetInventory.Editor
public sealed class PreviewManager

No description is available for this type.

public const int DEFAULT_PREVIEW_SIZE = 128

No description is available for this member.

Returns

System.Int32 — No return description is available.

public static bool IsErrorShader(Texture2D image)

No description is available for this member.

Parameters

Name Type Description
image UnityEngine.Texture2D

Returns

System.Boolean — No return description is available.

public static bool IsDefaultIcon(Texture2D image)

No description is available for this member.

Parameters

Name Type Description
image UnityEngine.Texture2D

Returns

System.Boolean — No return description is available.

public static bool IsErrorShader(string imagePath)

No description is available for this member.

Parameters

Name Type Description
imagePath System.String

Returns

System.Boolean — No return description is available.

public static bool IsDefaultIcon(string imagePath)

No description is available for this member.

Parameters

Name Type Description
imagePath System.String

Returns

System.Boolean — No return description is available.

Create(AssetInfo, string, Action, Action, DependencyResultCache)

Section titled “Create(AssetInfo, string, Action, Action, DependencyResultCache)”
public static Task<bool> Create(AssetInfo info, string sourcePath = null, Action onCreated = null, Action<PreviewRequest> onDone = null, DependencyResultCache cache = null)

No description is available for this member.

Parameters

Name Type Description
info AssetInventory.AssetInfo
sourcePath System.String
onCreated System.Action
onDone System.Action{AssetInventory.PreviewRequest}
cache AssetInventory.DependencyResultCache

Returns

System.Threading.Tasks.Task{System.Boolean} — No return description is available.

public static bool IsPreviewable(string file, bool includeComplex, AssetInfo autoMarkNA = null)

No description is available for this member.

Parameters

Name Type Description
file System.String
includeComplex System.Boolean
autoMarkNA AssetInventory.AssetInfo

Returns

System.Boolean — No return description is available.