Class ParticleSystemSourceLoader
The particle system source loader.
Inheritance
ParticleSystemSourceLoader
Implements
Inherited Members
Namespace: Evergine.Framework.Assets
Assembly: Evergine.Framework.dll
Syntax
public class ParticleSystemSourceLoader : AssetSourceLoadableConverter<ParticleSystemSource, ParticleSystem>, IAssetSourceLoadableConverter
Constructors
ParticleSystemSourceLoader(GraphicsContext, AssetsService)
Initializes a new instance of the ParticleSystemSourceLoader class.
Declaration
public ParticleSystemSourceLoader(GraphicsContext graphicsContext, AssetsService assetsService)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsContext | graphicsContext | The graphics context. |
| AssetsService | assetsService | The asset service. |
Properties
ExportedExtension
Gets the exported extension of the asset.
Declaration
public override string ExportedExtension { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
Convert(ParticleSystemSource)
Converts from SamplerSource to SamplerState.
Declaration
public override ParticleSystem Convert(ParticleSystemSource source)
Parameters
| Type | Name | Description |
|---|---|---|
| ParticleSystemSource | source | SamplerSource instance. |
Returns
| Type | Description |
|---|---|
| ParticleSystem | SamplerState instance. |