import ParticleSystemAsset from 'oxygen-core/asset-loaders/ParticleSystemAsset.js'Static Method Summary
| Static Public Methods | ||
| public static |
factory(args: *): ParticleSystemAsset Asset factory. |
|
Member Summary
| Public Members | ||
| public |
data: * |
|
Method Summary
| Public Methods | ||
| public |
load(): * |
|
Inherited Summary
| From class Asset | ||
| public get |
data: * |
|
| public set |
data: * |
|
| public get |
|
|
| public get |
options: * |
|
| public get |
|
|
| public get |
|
|
| public |
dispose() Destructor (disposes internal resources). |
|
| public |
fetchSubAsset(path: string, options: *): Promise Use this asset as fetch engine and load part of it's content as asset. |
|
| public abstract |
Load asset. |
|
| public |
makeFetchEngine(fallbackEngine: *): *: Function |
|
| public |
onReady() Called when asset is loaded and ready to use. |
|
Static Public Methods
public static factory(args: *): ParticleSystemAsset source
Asset factory.
Params:
| Name | Type | Attribute | Description |
| args | * | Factory parameters. |
Example:
system.registerProtocol('particles', ParticleSystemAsset.factory);
