Skip to content

IAssetsPlugin

Defined in: plugins/AssetsPlugin.ts:10

Extends

Properties

app

app: IApplication

Defined in: plugins/Plugin.ts:10

Inherited from

IPlugin.app


id

id: string

Defined in: plugins/Plugin.ts:8

Inherited from

IPlugin.id


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

IPlugin.addSignalConnection


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

IPlugin.destroy


initialize()

initialize(_app, options?): void | Promise<void>

Defined in: plugins/Plugin.ts:12

Parameters

_app

IApplication

options?

any

Returns

void | Promise<void>

Inherited from

IPlugin.initialize


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

IApplication

Returns

void | Promise<void>

Inherited from

IPlugin.postInitialize


registerCoreFunctions()

registerCoreFunctions(): void

Defined in: plugins/Plugin.ts:22

Returns

void

Inherited from

IPlugin.registerCoreFunctions


registerCoreSignals()

registerCoreSignals(): void

Defined in: plugins/Plugin.ts:24

Returns

void

Inherited from

IPlugin.registerCoreSignals


unloadSceneAssets()

unloadSceneAssets(scene): Promise<void>

Defined in: plugins/AssetsPlugin.ts:21

Parameters

scene

IScene | SceneImportListItem<any>

Returns

Promise<void>