Table of Contents

Class RawAssetImporterBase<TAsset>

Namespace
Stride.Core.Assets
Assembly
Stride.Core.Assets.dll
public abstract class RawAssetImporterBase<TAsset> : AssetImporterBase, IAssetImporter where TAsset : Asset, IAssetWithSource, new()

Type Parameters

TAsset
Inheritance
RawAssetImporterBase<TAsset>
Implements
Derived
Inherited Members

Properties

RootAssetTypes

Gets the types of asset that are mainly generated by this importer.

public override sealed IEnumerable<Type> RootAssetTypes { get; }

Property Value

IEnumerable<Type>

Methods

Import(UFile, AssetImporterParameters)

Imports a raw assets from the specified path into the specified package.

public override sealed IEnumerable<AssetItem> Import(UFile rawAssetPath, AssetImporterParameters importParameters)

Parameters

rawAssetPath UFile

The path to a raw asset on the disk.

importParameters AssetImporterParameters

The parameters. It is mandatory to call GetDefaultParameters(bool) and pass the parameters instance here

Returns

IEnumerable<AssetItem>