PreviewManager
public sealed class PreviewManagerNo description is available for this type.
Fields
Section titled “Fields”
DEFAULT_PREVIEW_SIZE
Section titled “DEFAULT_PREVIEW_SIZE”public const int DEFAULT_PREVIEW_SIZE = 128No description is available for this member.
Returns
System.Int32 — No return description is available.
Methods
Section titled “Methods”
IsErrorShader(Texture2D)
Section titled “IsErrorShader(Texture2D)”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.
IsDefaultIcon(Texture2D)
Section titled “IsDefaultIcon(Texture2D)”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.
IsErrorShader(string)
Section titled “IsErrorShader(string)”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.
IsDefaultIcon(string)
Section titled “IsDefaultIcon(string)”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.
IsPreviewable(string, bool, AssetInfo)
Section titled “IsPreviewable(string, bool, AssetInfo)”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.