PreviewPipeline
public sealed class PreviewPipeline : AssetImporterNo description is available for this type.
Methods
Section titled “Methods”
RecreateScheduledPreviews(List, List, bool)
Section titled “RecreateScheduledPreviews(List, List, bool)”public Task<int> RecreateScheduledPreviews(List<AssetInfo> assets, List<AssetInfo> allAssets, bool noSRPCheck = false)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
assets |
System.Collections.Generic.List{AssetInventory.AssetInfo} | |
allAssets |
System.Collections.Generic.List{AssetInventory.AssetInfo} | |
noSRPCheck |
System.Boolean |
Returns
System.Threading.Tasks.Task{System.Int32} — No return description is available.
GetAssetFilter(List, string)
Section titled “GetAssetFilter(List, string)”public static string GetAssetFilter(List<AssetInfo> assets, string fieldName = "Asset.Id")No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
assets |
System.Collections.Generic.List{AssetInventory.AssetInfo} | |
fieldName |
System.String |
Returns
System.String — No return description is available.
GetAssetFilter(IEnumerable, string)
Section titled “GetAssetFilter(IEnumerable, string)”public static string GetAssetFilter(IEnumerable<AssetInfo> assets, string fieldName = "Asset.Id")No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
assets |
System.Collections.Generic.IEnumerable{AssetInventory.AssetInfo} | |
fieldName |
System.String |
Returns
System.String — No return description is available.
GetExcludeExtensionFilter(string)
Section titled “GetExcludeExtensionFilter(string)”public static string GetExcludeExtensionFilter(string fieldName = "af.Type")Returns a SQL filter clause to exclude file types from preview generation based on user settings.
Parameters
| Name | Type | Description |
|---|---|---|
fieldName |
System.String | The field name to filter on (default: af.Type) |
Returns
System.String — SQL AND clause excluding specified types, or empty string if disabled
RecreatePreviews(List, bool, List, bool, Action)
Section titled “RecreatePreviews(List, bool, List, bool, Action)”public Task<int> RecreatePreviews(List<AssetInfo> files, bool packageMode, List<AssetInfo> allAssets, bool autoRemoveCache = true, Action<PreviewRequest> onDone = null)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
files |
System.Collections.Generic.List{AssetInventory.AssetInfo} | |
packageMode |
System.Boolean | |
allAssets |
System.Collections.Generic.List{AssetInventory.AssetInfo} | |
autoRemoveCache |
System.Boolean | |
onDone |
System.Action{AssetInventory.PreviewRequest} |
Returns
System.Threading.Tasks.Task{System.Int32} — No return description is available.
RestorePreviews(List, List)
Section titled “RestorePreviews(List, List)”public Task<int> RestorePreviews(List<AssetInfo> assets, List<AssetInfo> allAssets)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
assets |
System.Collections.Generic.List{AssetInventory.AssetInfo} | |
allAssets |
System.Collections.Generic.List{AssetInventory.AssetInfo} |
Returns
System.Threading.Tasks.Task{System.Int32} — No return description is available.