Table of Contents

Class RawAssetImporter

Namespace
Stride.Core.Assets
Assembly
Stride.Core.Assets.dll
public sealed class RawAssetImporter : RawAssetImporterBase<RawAsset>, IAssetImporter
Inheritance
RawAssetImporter
Implements
Inherited Members

Constructors

RawAssetImporter()

public RawAssetImporter()

Properties

Description

Gets the description of this importer.

public override string Description { get; }

Property Value

string

The description.

Id

Gets an unique identifier to identify the importer. See remarks.

public override Guid Id { get; }

Property Value

Guid

The identifier.

Remarks

This identifier is used to recover the importer used for a particular asset. This Guid must be unique and stored statically in the definition of an importer. It is used to reimport an existing asset with the same importer.

SupportedFileExtensions

Gets the supported file extensions (separated by ',' for multiple extensions) by this importer. This is used for display purpose only. The method IsSupportingFile(string) is used for matching extensions.

public override string SupportedFileExtensions { get; }

Property Value

string

Returns a list of supported file extensions handled by this importer.

Methods

IsSupportingFile(string)

Determines whether this importer is supporting the specified file.

public override bool IsSupportingFile(string filePath)

Parameters

filePath string

The file path.

Returns

bool

true if this importer is supporting the specified file; otherwise, false.