AssetsPlugin
Defined in: plugins/AssetsPlugin.ts:106
Extends
Section titled “Extends”Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AssetsPlugin(
id):AssetsPlugin
Defined in: plugins/Plugin.ts:48
Parameters
Section titled “Parameters”string = 'Plugin'
Returns
Section titled “Returns”AssetsPlugin
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”
readonlyid:string='assets'
Defined in: plugins/AssetsPlugin.ts:107
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”onBackgroundAssetLoaded
Section titled “onBackgroundAssetLoaded”onBackgroundAssetLoaded:
Signal<(asset) =>void>
Defined in: plugins/AssetsPlugin.ts:117
Implementation of
Section titled “Implementation of”IAssetsPlugin.onBackgroundAssetLoaded
onBackgroundBundlesLoaded
Section titled “onBackgroundBundlesLoaded”onBackgroundBundlesLoaded:
Signal<(bundles) =>void>
Defined in: plugins/AssetsPlugin.ts:118
Implementation of
Section titled “Implementation of”IAssetsPlugin.onBackgroundBundlesLoaded
onBackgroundLoadStart
Section titled “onBackgroundLoadStart”onBackgroundLoadStart:
Signal<() =>void>
Defined in: plugins/AssetsPlugin.ts:116
Implementation of
Section titled “Implementation of”IAssetsPlugin.onBackgroundLoadStart
onLoadComplete
Section titled “onLoadComplete”onLoadComplete:
Signal<() =>void>
Defined in: plugins/AssetsPlugin.ts:110
Implementation of
Section titled “Implementation of”onLoadProgress
Section titled “onLoadProgress”onLoadProgress:
Signal<(progress) =>void>
Defined in: plugins/AssetsPlugin.ts:109
Implementation of
Section titled “Implementation of”onLoadRequiredComplete
Section titled “onLoadRequiredComplete”onLoadRequiredComplete:
Signal<() =>void>
Defined in: plugins/AssetsPlugin.ts:114
Implementation of
Section titled “Implementation of”IAssetsPlugin.onLoadRequiredComplete
onLoadRequiredProgress
Section titled “onLoadRequiredProgress”onLoadRequiredProgress:
Signal<(progress) =>void>
Defined in: plugins/AssetsPlugin.ts:113
Implementation of
Section titled “Implementation of”IAssetsPlugin.onLoadRequiredProgress
onLoadRequiredStart
Section titled “onLoadRequiredStart”onLoadRequiredStart:
Signal<() =>void>
Defined in: plugins/AssetsPlugin.ts:112
Implementation of
Section titled “Implementation of”IAssetsPlugin.onLoadRequiredStart
onLoadStart
Section titled “onLoadStart”onLoadStart:
Signal<() =>void>
Defined in: plugins/AssetsPlugin.ts:108
Implementation of
Section titled “Implementation of”webCompleteEvent
Section titled “webCompleteEvent”webCompleteEvent:
Event
Defined in: plugins/AssetsPlugin.ts:161
Implementation of
Section titled “Implementation of”IAssetsPlugin.webCompleteEvent
webProgressEvent
Section titled “webProgressEvent”webProgressEvent:
CustomEvent<{progress:number; }>
Defined in: plugins/AssetsPlugin.ts:151
Implementation of
Section titled “Implementation of”IAssetsPlugin.webProgressEvent
webRequiredCompleteEvent
Section titled “webRequiredCompleteEvent”webRequiredCompleteEvent:
Event
Defined in: plugins/AssetsPlugin.ts:142
Implementation of
Section titled “Implementation of”IAssetsPlugin.webRequiredCompleteEvent
webRequiredProgressEvent
Section titled “webRequiredProgressEvent”webRequiredProgressEvent:
CustomEvent<{progress:number; }>
Defined in: plugins/AssetsPlugin.ts:132
Implementation of
Section titled “Implementation of”IAssetsPlugin.webRequiredProgressEvent
webRequiredStartEvent
Section titled “webRequiredStartEvent”webRequiredStartEvent:
Event
Defined in: plugins/AssetsPlugin.ts:128
Implementation of
Section titled “Implementation of”IAssetsPlugin.webRequiredStartEvent
webStartEvent
Section titled “webStartEvent”webStartEvent:
Event
Defined in: plugins/AssetsPlugin.ts:147
Implementation of
Section titled “Implementation of”Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get app():
Application
Defined in: plugins/Plugin.ts:52
Returns
Section titled “Returns”Implementation of
Section titled “Implementation of”Inherited from
Section titled “Inherited from”options
Section titled “options”Get Signature
Section titled “Get Signature”get options():
O
Defined in: plugins/Plugin.ts:44
Returns
Section titled “Returns”O
Implementation of
Section titled “Implementation of”Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”addSignalConnection()
Section titled “addSignalConnection()”addSignalConnection(…
args):void
Defined in: plugins/Plugin.ts:78
Add signal connections to the container.
Parameters
Section titled “Parameters”…SignalConnection[]
The signal connections to add.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”IAssetsPlugin.addSignalConnection
Inherited from
Section titled “Inherited from”clearSignalConnections()
Section titled “clearSignalConnections()”clearSignalConnections():
void
Defined in: plugins/Plugin.ts:84
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”IAssetsPlugin.clearSignalConnections
Inherited from
Section titled “Inherited from”destroy()
Section titled “destroy()”destroy():
void
Defined in: plugins/Plugin.ts:56
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”Inherited from
Section titled “Inherited from”initialize()
Section titled “initialize()”initialize(
options?):void|Promise<void>
Defined in: plugins/AssetsPlugin.ts:166
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”void | Promise<void>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”loadAssets()
Section titled “loadAssets()”loadAssets(
assets,reportProgress):Promise<void>
Defined in: plugins/AssetsPlugin.ts:223
Parameters
Section titled “Parameters”assets
Section titled “assets”reportProgress
Section titled “reportProgress”boolean = true
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”loadBackground()
Section titled “loadBackground()”loadBackground():
void
Defined in: plugins/AssetsPlugin.ts:198
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”loadBundles()
Section titled “loadBundles()”loadBundles(
bundles,reportProgress):Promise<void>
Defined in: plugins/AssetsPlugin.ts:230
Parameters
Section titled “Parameters”bundles
Section titled “bundles”reportProgress
Section titled “reportProgress”boolean = true
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”loadRequired()
Section titled “loadRequired()”loadRequired():
Promise<void>
Defined in: plugins/AssetsPlugin.ts:176
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”loadSceneAssets()
Section titled “loadSceneAssets()”loadSceneAssets(
scene,background):Promise<void>
Defined in: plugins/AssetsPlugin.ts:253
Parameters
Section titled “Parameters”IScene | SceneImportListItem<any>
background
Section titled “background”boolean = false
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”postInitialize()
Section titled “postInitialize()”postInitialize(
_app):void|Promise<void>
Defined in: plugins/Plugin.ts:67
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void | Promise<void>
Implementation of
Section titled “Implementation of”Inherited from
Section titled “Inherited from”unloadSceneAssets()
Section titled “unloadSceneAssets()”unloadSceneAssets(
scene):Promise<void>
Defined in: plugins/AssetsPlugin.ts:236
Parameters
Section titled “Parameters”IScene | SceneImportListItem<any>
Returns
Section titled “Returns”Promise<void>