Class GLTFImporter
The GLTF importer class.
Implements
IAssetImporter
Inherited Members
Namespace: Evergine.Assets.Importers
Assembly: Evergine.Assets.dll
Syntax
public class GLTFImporter : AAssetImporter<ModelSource>, IAssetImporter
Properties
Extensions
Gets the importer extension.
Declaration
public override string[] Extensions { get; }
Property Value
Type | Description |
---|---|
string[] |
Overrides
Evergine.Framework.Assets.Importers.AAssetImporter<Evergine.Framework.Assets.ModelSource>.Extensions
Methods
GenerateAdditionalAssets(Stream, ModelSource)
Indicates if this assets requires additional assets.
Declaration
public override bool GenerateAdditionalAssets(Stream stream, ModelSource resource)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The asset stream. |
ModelSource | resource | The current resource. |
Returns
Type | Description |
---|---|
bool | If the asset require additional assets. |
Overrides
ImportData(Stream, ModelSource, bool)
Import the asset data.
Declaration
public override void ImportData(Stream stream, ModelSource source, bool rawAsset)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
ModelSource | source | |
bool | rawAsset | The asset is loaded as raw asset. |
Overrides
ImportHeader(Stream, out ModelSource)
Import the asset header.
Declaration
public override void ImportHeader(Stream stream, out ModelSource resource)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
ModelSource | resource | The output header. |
Overrides
Implements
Evergine.Framework.Assets.Importers.IAssetImporter