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 Particle
Declaration
public ParticleSystemSourceLoader(GraphicsContext graphicsContext, AssetsService assetsService)
Parameters
Type | Name | Description |
---|---|---|
Graphics |
graphicsContext | The graphics context. |
Assets |
assetsService | The assets 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)
Convert from SamplerSource to SamplerState.
Declaration
public override ParticleSystem Convert(ParticleSystemSource source)
Parameters
Type | Name | Description |
---|---|---|
Particle |
source | SamplerSource instance. |
Returns
Type | Description |
---|---|
Particle |
SamplerState instance. |