Class SceneImporter
This class represents a scene asset importer.
Implements
Inherited Members
Namespace: Evergine.Framework.Assets.Importers
Assembly: Evergine.Framework.dll
Syntax
public class SceneImporter : AAssetImporter<SceneSource>, IAssetImporter
Fields
FileExtension
The extension of the scene file.
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, SceneSource, bool)
Imports the asset data.
Declaration
public override void ImportData(Stream stream, SceneSource resource, bool rawAsset)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
SceneSource | resource | The output data. |
bool | rawAsset | Indicates whether the asset is loaded as a raw asset. |
Overrides
ImportHeader(Stream, out SceneSource)
Imports the asset header.
Declaration
public override void ImportHeader(Stream stream, out SceneSource resource)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
SceneSource | resource | The output header. |