Class PrefabImporter
Thos class represent a prefab asset importer.
Implements
Inherited Members
Namespace: Evergine.Framework.Assets.Importers
Assembly: Evergine.Framework.dll
Syntax
public class PrefabImporter : AAssetImporter<PrefabSource>, IAssetImporter
Fields
FileExtension
The prefab file extension.
Declaration
public static readonly string FileExtension
Field Value
Type | Description |
---|---|
string |
Properties
Extensions
Gets the importer file extensions.
Declaration
public override string[] Extensions { get; }
Property Value
Type | Description |
---|---|
string[] |
Overrides
Methods
ImportData(Stream, PrefabSource, bool)
Import the asset data.
Declaration
public override void ImportData(Stream stream, PrefabSource resource, bool rawAsset)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
PrefabSource | resource | The output data. |
bool | rawAsset | The asset is loaded as raw asset. |
Overrides
ImportHeader(Stream, out PrefabSource)
Import the asset header.
Declaration
public override void ImportHeader(Stream stream, out PrefabSource resource)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
PrefabSource | resource | The output header. |