Class AssetReimportUtils
Set of utilities for Material reimporting.
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public static class AssetReimportUtils
Methods
ReimportAll<TAsset>(out double, out uint, Func<string, bool>)
Re-imports a given type of asset, and sends an analytic with the elapsed time
Declaration
public static void ReimportAll<TAsset>(out double duration, out uint numberOfAssetsReimported, Func<string, bool> importNeedDelegate = null)
Parameters
Type | Name | Description |
---|---|---|
double | duration | The elapsed time |
uint | numberOfAssetsReimported | The number of assets that have been re-imported |
Func<string, bool> | importNeedDelegate | A delegate if you want to skip some asset to be re-imported |
Type Parameters
Name | Description |
---|---|
TAsset | The asset type that will be re-imported |