Use IHVImageFormatImporter to modify Texture2D import settings for Textures in IHV (Independent Hardware Vendor) formats such as .DDS and .PVR from Editor scripts.
filterMode | Режим фильтрации текстур |
isReadable | Is texture data readable from scripts. |
streamingMipmaps | Enable mipmap streaming for this texture. |
streamingMipmapsPriority | Relative priority for this texture when reducing memory size in order to hit the memory budget. |
wrapMode | Texture coordinate wrapping mode. |
wrapModeU | Texture U coordinate wrapping mode. |
wrapModeV | Texture V coordinate wrapping mode. |
wrapModeW | Texture W coordinate wrapping mode for Texture3D. |
assetBundleName | Get or set the AssetBundle name. |
assetBundleVariant | Получите или установите любые пользовательские данные. |
assetPath | Имя пути ассета для этого импортера. (Read Only) |
importSettingsMissing | The value is true when no meta file is provided with the imported asset. |
userData | Получите или установите любые пользовательские данные. |
AddRemap | Map a sub-asset from an imported asset (such as an FBX file) to an external Asset of the same type. |
GetExternalObjectMap | Gets a copy of the external object map used by the AssetImporter. |
RemoveRemap | Removes an item from the map of external objects. |
SaveAndReimport | Save asset importer settings if asset importer is dirty. |
SetAssetBundleNameAndVariant | Получите или установите любые пользовательские данные. |
SupportsRemappedAssetType | Checks if the AssetImporter supports remapping the given asset type. |
GetAtPath | Восстанавливает импортер ассетов для ассета в path. |