Class SceneSourceConverter
Source converter of the scene.
Implements
Inherited Members
Namespace: Evergine.Framework.Assets
Assembly: Evergine.Framework.dll
Syntax
public class SceneSourceConverter : AssetSourceLoadableConverter<SceneSource, Scene>, IAssetSourceLoadableConverter
Properties
ExportedExtension
Gets the extension of the exported extension.
Declaration
public override string ExportedExtension { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
Convert(SceneSource)
Converts a SceneSource object into a scene.
Declaration
public override Scene Convert(SceneSource source)
Parameters
Type | Name | Description |
---|---|---|
SceneSource | source | The scene source. |
Returns
Type | Description |
---|---|
Scene | The ILoadable Scene object. |
Overrides
Convert(SceneSource, Type)
Converts an Asset Source into a loadable of a specific type.
Declaration
public override Scene Convert(SceneSource source, Type loadableType)
Parameters
Type | Name | Description |
---|---|---|
SceneSource | source | The asset source. |
Type | loadableType | The loadable type. |
Returns
Type | Description |
---|---|
Scene | The loadable element. |
Overrides
Convert<TScene>(SceneSource)
Converts an Asset Source into a loadable of a specific type.
Declaration
public override TScene Convert<TScene>(SceneSource source) where TScene : Scene
Parameters
Type | Name | Description |
---|---|---|
SceneSource | source | The asset source. |
Returns
Type | Description |
---|---|
TScene | The loadable element. |
Type Parameters
Name | Description |
---|---|
TScene | The type of the Scene object to return. |