IAssetsPlugin
Defined in: plugins/AssetsPlugin.ts:10
Extends
Properties
app
app:
IApplication
Defined in: plugins/Plugin.ts:10
Inherited from
id
id:
string
Defined in: plugins/Plugin.ts:8
Inherited from
onLoadComplete
onLoadComplete:
Signal
<() =>void
>
Defined in: plugins/AssetsPlugin.ts:13
onLoadProgress
onLoadProgress:
Signal
<(progress
) =>void
>
Defined in: plugins/AssetsPlugin.ts:12
onLoadStart
onLoadStart:
Signal
<() =>void
>
Defined in: plugins/AssetsPlugin.ts:11
Methods
addSignalConnection()
addSignalConnection(…
args
):void
Defined in: plugins/Plugin.ts:18
Parameters
args
…SignalConnection
[]
Returns
void
Inherited from
clearSignalConnections()
clearSignalConnections():
void
Defined in: plugins/Plugin.ts:20
Returns
void
Inherited from
IPlugin
.clearSignalConnections
destroy()
destroy():
void
Defined in: plugins/Plugin.ts:16
Returns
void
Inherited from
initialize()
initialize(
_app
,options
?):void
|Promise
<void
>
Defined in: plugins/Plugin.ts:12
Parameters
_app
options?
any
Returns
void
| Promise
<void
>
Inherited from
loadAssets()
loadAssets(
assets
):Promise
<void
>
Defined in: plugins/AssetsPlugin.ts:15
Parameters
assets
string
| string
[] | UnresolvedAsset
| AssetLike
| UnresolvedAsset
[] | AssetLike
[]
Returns
Promise
<void
>
loadBackground()
loadBackground():
void
Defined in: plugins/AssetsPlugin.ts:25
Returns
void
loadBundles()
loadBundles(
bundle
):Promise
<void
>
Defined in: plugins/AssetsPlugin.ts:17
Parameters
bundle
string
| string
[]
Returns
Promise
<void
>
loadRequired()
loadRequired():
Promise
<void
>
Defined in: plugins/AssetsPlugin.ts:23
Returns
Promise
<void
>
loadSceneAssets()
loadSceneAssets(
scene
,background
?):Promise
<void
>
Defined in: plugins/AssetsPlugin.ts:19
Parameters
scene
IScene
| SceneImportListItem
<any
>
background?
boolean
Returns
Promise
<void
>
postInitialize()
postInitialize(
_app
):void
|Promise
<void
>
Defined in: plugins/Plugin.ts:14
Parameters
_app
Returns
void
| Promise
<void
>
Inherited from
registerCoreFunctions()
registerCoreFunctions():
void
Defined in: plugins/Plugin.ts:22
Returns
void
Inherited from
registerCoreSignals()
registerCoreSignals():
void
Defined in: plugins/Plugin.ts:24
Returns
void
Inherited from
unloadSceneAssets()
unloadSceneAssets(
scene
):Promise
<void
>
Defined in: plugins/AssetsPlugin.ts:21
Parameters
scene
IScene
| SceneImportListItem
<any
>
Returns
Promise
<void
>