AssetsPlugin
Defined in: plugins/AssetsPlugin.ts:82
Extends
Implements
Constructors
new AssetsPlugin()
new AssetsPlugin(
id
):AssetsPlugin
Defined in: plugins/Plugin.ts:40
Parameters
id
string
= 'Plugin'
Returns
Inherited from
Properties
__dill_pixel_method_binding_root
__dill_pixel_method_binding_root:
boolean
Defined in: plugins/Plugin.ts:37
Inherited from
Plugin
.__dill_pixel_method_binding_root
id
readonly
id:string
='assets'
Defined in: plugins/AssetsPlugin.ts:83
Implementation of
Overrides
onBackgroundAssetLoaded
onBackgroundAssetLoaded:
Signal
<(asset
) =>void
>
Defined in: plugins/AssetsPlugin.ts:89
onBackgroundBundlesLoaded
onBackgroundBundlesLoaded:
Signal
<() =>void
>
Defined in: plugins/AssetsPlugin.ts:90
onBackgroundLoadStart
onBackgroundLoadStart:
Signal
<() =>void
>
Defined in: plugins/AssetsPlugin.ts:88
onLoadComplete
onLoadComplete:
Signal
<() =>void
>
Defined in: plugins/AssetsPlugin.ts:86
Implementation of
onLoadProgress
onLoadProgress:
Signal
<(progress
) =>void
>
Defined in: plugins/AssetsPlugin.ts:85
Implementation of
onLoadStart
onLoadStart:
Signal
<() =>void
>
Defined in: plugins/AssetsPlugin.ts:84
Implementation of
Accessors
app
Get Signature
get app():
T
Defined in: plugins/Plugin.ts:45
Returns
T
Implementation of
Inherited from
Methods
addSignalConnection()
addSignalConnection(…
args
):void
Defined in: plugins/Plugin.ts:71
Add signal connections to the container.
Parameters
args
…SignalConnection
[]
The signal connections to add.
Returns
void
Implementation of
IAssetsPlugin
.addSignalConnection
Inherited from
clearSignalConnections()
clearSignalConnections():
void
Defined in: plugins/Plugin.ts:77
Returns
void
Implementation of
IAssetsPlugin
.clearSignalConnections
Inherited from
destroy()
destroy():
void
Defined in: plugins/Plugin.ts:49
Returns
void
Implementation of
Inherited from
initialize()
initialize(
_app
,options
?):void
|Promise
<void
>
Defined in: plugins/AssetsPlugin.ts:98
Parameters
_app
options?
Returns
void
| Promise
<void
>
Implementation of
Overrides
loadAssets()
loadAssets(
assets
):Promise
<void
>
Defined in: plugins/AssetsPlugin.ts:148
Parameters
assets
Returns
Promise
<void
>
Implementation of
loadBackground()
loadBackground():
void
Defined in: plugins/AssetsPlugin.ts:123
Returns
void
Implementation of
loadBundles()
loadBundles(
bundles
):Promise
<void
>
Defined in: plugins/AssetsPlugin.ts:156
Parameters
bundles
string
| string
[]
Returns
Promise
<void
>
Implementation of
loadRequired()
loadRequired():
Promise
<void
>
Defined in: plugins/AssetsPlugin.ts:108
Returns
Promise
<void
>
Implementation of
loadSceneAssets()
loadSceneAssets(
scene
,background
):Promise
<void
>
Defined in: plugins/AssetsPlugin.ts:179
Parameters
scene
IScene
| SceneImportListItem
<any
>
background
boolean
= false
Returns
Promise
<void
>
Implementation of
postInitialize()
postInitialize(
_app
):void
|Promise
<void
>
Defined in: plugins/Plugin.ts:60
Parameters
_app
Returns
void
| Promise
<void
>
Implementation of
Inherited from
unloadSceneAssets()
unloadSceneAssets(
scene
):Promise
<void
>
Defined in: plugins/AssetsPlugin.ts:162
Parameters
scene
IScene
| SceneImportListItem
<any
>
Returns
Promise
<void
>