Skip to content

PreviewPipeline

ClassAssetInventoryAssetInventory.Editor
public sealed class PreviewPipeline : AssetImporter

No description is available for this type.

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.

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.

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.

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.

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.