AssetImporter
public abstract class AssetImporter : ActionProgressNo description is available for this type.
Methods
Section titled “Methods”
CanDownload(AssetInfo)
Section titled “CanDownload(AssetInfo)”protected static bool CanDownload(AssetInfo info)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
info |
AssetInventory.AssetInfo |
Returns
System.Boolean — No return description is available.
DownloadAsset(AssetInfo)
Section titled “DownloadAsset(AssetInfo)”protected IEnumerator DownloadAsset(AssetInfo info)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
info |
AssetInventory.AssetInfo |
Returns
System.Collections.IEnumerator — No return description is available.
RemoveDownload(Asset)
Section titled “RemoveDownload(Asset)”protected static IEnumerator RemoveDownload(Asset asset)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
asset |
AssetInventory.Asset |
Returns
System.Collections.IEnumerator — No return description is available.
ApplyPackageTags(FolderSpec, Asset, bool)
Section titled “ApplyPackageTags(FolderSpec, Asset, bool)”protected static bool ApplyPackageTags(FolderSpec spec, Asset asset, bool fromAssetStore = false)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
spec |
AssetInventory.FolderSpec | |
asset |
AssetInventory.Asset | |
fromAssetStore |
System.Boolean |
Returns
System.Boolean — No return description is available.
HasNoIndex(int)
Section titled “HasNoIndex(int)”protected static bool HasNoIndex(int assetId)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
assetId |
System.Int32 |
Returns
System.Boolean — No return description is available.
HasNoIndex(Asset)
Section titled “HasNoIndex(Asset)”protected static bool HasNoIndex(Asset asset)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
asset |
AssetInventory.Asset |
Returns
System.Boolean — No return description is available.
RemoveWorkFolder(Asset, string)
Section titled “RemoveWorkFolder(Asset, string)”protected static void RemoveWorkFolder(Asset asset, string tempPath)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
asset |
AssetInventory.Asset | |
tempPath |
System.String | |
MarkDone(Asset)
Section titled “MarkDone(Asset)”protected static void MarkDone(Asset asset)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
asset |
AssetInventory.Asset | |
MarkInProcess(Asset)
Section titled “MarkInProcess(Asset)”protected static void MarkInProcess(Asset asset)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
asset |
AssetInventory.Asset | |
Fetch(Asset)
Section titled “Fetch(Asset)”protected static Asset Fetch(Asset asset)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
asset |
AssetInventory.Asset |
Returns
AssetInventory.Asset — No return description is available.
Exists(AssetFile)
Section titled “Exists(AssetFile)”protected static bool Exists(AssetFile file)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
file |
AssetInventory.AssetFile |
Returns
System.Boolean — No return description is available.
Fetch(AssetFile)
Section titled “Fetch(AssetFile)”protected static AssetFile Fetch(AssetFile file)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
file |
AssetInventory.AssetFile |
Returns
AssetInventory.AssetFile — No return description is available.
Fetch(AssetFile, IEnumerable)
Section titled “Fetch(AssetFile, IEnumerable)”protected static AssetFile Fetch(AssetFile file, IEnumerable<AssetFile> existing)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
file |
AssetInventory.AssetFile | |
existing |
System.Collections.Generic.IEnumerable{AssetInventory.AssetFile} |
Returns
AssetInventory.AssetFile — No return description is available.
Fetch(AssetFile, Dictionary<string, List>, Dictionary<(string, int), AssetFile>)
Section titled “Fetch(AssetFile, Dictionary<string, List>, Dictionary<(string, int), AssetFile>)”protected static AssetFile Fetch(AssetFile file, Dictionary<string, List<AssetFile>> existingByGuid, Dictionary<(string, int), AssetFile> existingByPathAndAssetId)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
file |
AssetInventory.AssetFile | |
existingByGuid |
System.Collections.Generic.Dictionary{System.String,System.Collections.Generic.List{AssetInventory.AssetFile}} | |
existingByPathAndAssetId |
System.Collections.Generic.Dictionary{System.ValueTuple{System.String,System.Int32},AssetInventory.AssetFile} |
Returns
AssetInventory.AssetFile — No return description is available.
ToGuidDict(IEnumerable)
Section titled “ToGuidDict(IEnumerable)”protected static Dictionary<string, List<AssetFile>> ToGuidDict(IEnumerable<AssetFile> files)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
files |
System.Collections.Generic.IEnumerable{AssetInventory.AssetFile} |
Returns
System.Collections.Generic.Dictionary{System.String,System.Collections.Generic.List{AssetInventory.AssetFile}} — No return description is available.
ToIdDict(IEnumerable)
Section titled “ToIdDict(IEnumerable)”public static Dictionary<int, AssetFile> ToIdDict(IEnumerable<AssetFile> files)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
files |
System.Collections.Generic.IEnumerable{AssetInventory.AssetFile} |
Returns
System.Collections.Generic.Dictionary{System.Int32,AssetInventory.AssetFile} — No return description is available.
ToPathIdDict(IEnumerable)
Section titled “ToPathIdDict(IEnumerable)”protected static Dictionary<(string Path, int AssetId), AssetFile> ToPathIdDict(IEnumerable<AssetFile> files)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
files |
System.Collections.Generic.IEnumerable{AssetInventory.AssetFile} |
Returns
System.Collections.Generic.Dictionary{System.ValueTuple{System.String,System.Int32},AssetInventory.AssetFile} — No return description is available.
Persist(Asset)
Section titled “Persist(Asset)”public static void Persist(Asset asset)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
asset |
AssetInventory.Asset | |
ValidatePreviewFile(AssetFile, string, bool)
Section titled “ValidatePreviewFile(AssetFile, string, bool)”public static string ValidatePreviewFile(AssetFile file, string previewFolder, bool nullOnError = true)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
file |
AssetInventory.AssetFile | |
previewFolder |
System.String | |
nullOnError |
System.Boolean |
Returns
System.String — No return description is available.
Persist(AssetFile)
Section titled “Persist(AssetFile)”protected static void Persist(AssetFile file)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
file |
AssetInventory.AssetFile | |
UpdateOrInsert(Asset)
Section titled “UpdateOrInsert(Asset)”protected static void UpdateOrInsert(Asset asset)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
asset |
AssetInventory.Asset | |
ProcessMediaAttributes(string, AssetFile, Asset)
Section titled “ProcessMediaAttributes(string, AssetFile, Asset)”protected static Task ProcessMediaAttributes(string file, AssetFile info, Asset asset)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
file |
System.String | |
info |
AssetInventory.AssetFile | |
asset |
AssetInventory.Asset |
Returns
System.Threading.Tasks.Task — No return description is available.
GetDefaultImportSpec()
Section titled “GetDefaultImportSpec()”protected static FolderSpec GetDefaultImportSpec()No description is available for this member.
Returns
AssetInventory.FolderSpec — No return description is available.