Class EverginePrefabImporter
The prefab asset importer.
Implements
Inherited Members
Namespace: Evergine.Framework.Assets.Importers
Assembly: Evergine.Framework.dll
Syntax
public class EverginePrefabImporter : AAssetImporter<PrefabSource>, IAssetImporter
Properties
Extensions
Gets the importer file extensions.
Declaration
public override string[] Extensions { get; }
Property Value
Type | Description |
---|---|
string[] |
Overrides
Methods
ImportData(Stream, PrefabSource, bool)
Imports the asset data.
Declaration
public override void ImportData(Stream stream, PrefabSource resource, bool rawAsset = false)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
PrefabSource | resource | The output data. |
bool | rawAsset | Indicates whether the asset is loaded as a raw asset. |
Overrides
ImportHeader(Stream, out PrefabSource)
Imports 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. |