Toast Engine
Loading...
Searching...
No Matches
editor.Assets.Importers.PsdImporter Class Reference
Inheritance diagram for editor.Assets.Importers.PsdImporter:
Collaboration diagram for editor.Assets.Importers.PsdImporter:

Classes

class  Settings

Public Member Functions

 PsdImporter (TextureImporter.Settings textureSettings, Settings psdSettings)
bool CanHandle (string filePath)
IReadOnlyList< IAssetImporter > GetAllSettingsImporters ()
 Returns all importers whose settings should be shown in the UI when this importer's files are selected.
IReadOnlyList< ImporterSetting > GetSettings ()
 Returns an ordered list of setting descriptors for the auto-generated settings UI.
async Task< IReadOnlyList< string > > Import (string realSourcePath, ImportContext ctx, Action< string > log, Action< double >? progress=null)

Properties

IReadOnlyList< string > SupportedExtensions [get]
string DisplayName [get]
 Human-readable name shown in the settings card header.
LucideIconKind Icon [get]
 Lucide icon shown in the settings card header.
BaseAsset PrimaryOutputType [get]
 Primary asset type this importer produces.
Properties inherited from editor.Assets.Importers.IAssetImporter
IReadOnlyList< BaseAsset > OutputTypes [get]
 All asset types this importer may produce.

Member Function Documentation

◆ CanHandle()

bool editor.Assets.Importers.PsdImporter.CanHandle ( string filePath)
inline

◆ GetAllSettingsImporters()

IReadOnlyList< IAssetImporter > editor.Assets.Importers.PsdImporter.GetAllSettingsImporters ( )
inline

Returns all importers whose settings should be shown in the UI when this importer's files are selected.

Composite importers return themselves plus any sub-importers they delegate to

Implements editor.Assets.Importers.IAssetImporter.

◆ GetSettings()

IReadOnlyList< ImporterSetting > editor.Assets.Importers.PsdImporter.GetSettings ( )
inline

Returns an ordered list of setting descriptors for the auto-generated settings UI.

Adding a descriptor here automatically adds a row to the import window

Implements editor.Assets.Importers.IAssetImporter.

◆ Import()

async Task< IReadOnlyList< string > > editor.Assets.Importers.PsdImporter.Import ( string realSourcePath,
ImportContext ctx,
Action< string > log,
Action< double >? progress = null )
inline

Property Documentation

◆ DisplayName

string editor.Assets.Importers.PsdImporter.DisplayName
get

Human-readable name shown in the settings card header.

Implements editor.Assets.Importers.IAssetImporter.

◆ Icon

LucideIconKind editor.Assets.Importers.PsdImporter.Icon
get

Lucide icon shown in the settings card header.

Implements editor.Assets.Importers.IAssetImporter.

◆ PrimaryOutputType

BaseAsset editor.Assets.Importers.PsdImporter.PrimaryOutputType
get

Primary asset type this importer produces.

Implements editor.Assets.Importers.IAssetImporter.

◆ SupportedExtensions

IReadOnlyList<string> editor.Assets.Importers.PsdImporter.SupportedExtensions
get

The documentation for this class was generated from the following file:
  • editor/Assets/Importers/PsdImporter.cs