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

Classes

class  Settings

Public Member Functions

 VoxImporter (Settings settings)
bool CanHandle (string filePath)
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)
Public Member Functions inherited from editor.Assets.Importers.IAssetImporter
IReadOnlyList< IAssetImporter > GetAllSettingsImporters ()
 Returns all importers whose settings should be shown in the UI when this importer's files are selected.

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.
IReadOnlyList< BaseAsset > OutputTypes [get]
 All asset types this importer may produce.

Member Function Documentation

◆ CanHandle()

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

◆ GetSettings()

IReadOnlyList< ImporterSetting > editor.Assets.Importers.VoxImporter.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.VoxImporter.Import ( string realSourcePath,
ImportContext ctx,
Action< string > log,
Action< double >? progress = null )
inline

Property Documentation

◆ DisplayName

string editor.Assets.Importers.VoxImporter.DisplayName
get

Human-readable name shown in the settings card header.

Implements editor.Assets.Importers.IAssetImporter.

◆ Icon

LucideIconKind editor.Assets.Importers.VoxImporter.Icon
get

Lucide icon shown in the settings card header.

Implements editor.Assets.Importers.IAssetImporter.

◆ OutputTypes

IReadOnlyList<BaseAsset> editor.Assets.Importers.VoxImporter.OutputTypes
get

All asset types this importer may produce.

Implements editor.Assets.Importers.IAssetImporter.

◆ PrimaryOutputType

BaseAsset editor.Assets.Importers.VoxImporter.PrimaryOutputType
get

Primary asset type this importer produces.

Implements editor.Assets.Importers.IAssetImporter.

◆ SupportedExtensions

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

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