Class PrefabSourceConverter
Source converter for the prefab.
Implements
Inherited Members
Namespace: Evergine.Framework.Assets
Assembly: Evergine.Framework.dll
Syntax
public class PrefabSourceConverter : AssetSourceLoadableConverter<PrefabSource, Prefab>, IAssetSourceLoadableConverter
Constructors
PrefabSourceConverter(AssetsService)
Initializes a new instance of the PrefabSourceConverter class.
Declaration
public PrefabSourceConverter(AssetsService assetsService)
Parameters
| Type | Name | Description |
|---|---|---|
| AssetsService | assetsService | The asset service. |
Properties
ExportedExtension
Gets the extension of the exported file.
Declaration
public override string ExportedExtension { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
Convert(PrefabSource)
Converts an asset source into a loadable element of a specific type.
Declaration
public override Prefab Convert(PrefabSource source)
Parameters
| Type | Name | Description |
|---|---|---|
| PrefabSource | source | The asset source. |
Returns
| Type | Description |
|---|---|
| Prefab | The loadable element. |