Preparing search index...
The search index is not available
@tawaship/pixim.js - v1.15.0
@tawaship/pixim.js
SpritesheetLoader
Class SpritesheetLoader
Hierarchy (
View Summary
)
LoaderBase
<
TSpritesheetLoaderTarget
,
TSpritesheetLoaderRawResource
,
SpritesheetLoaderResource
,
>
SpritesheetLoader
Index
Constructors
constructor
Properties
on
Loaded?
Methods
_load
Async
_resolve
Params
load
All
Async
load
Async
Constructors
constructor
new
SpritesheetLoader
()
:
SpritesheetLoader
Returns
SpritesheetLoader
Properties
Optional
on
Loaded
onLoaded
?:
(
resource
:
SpritesheetLoaderResource
)
=>
void
Callback when one of the resources has succeeded loading.
Methods
Protected
_load
Async
_loadAsync
(
target
:
TSpritesheetLoaderTarget
,
options
?:
ISpritesheetLoaderOption
,
)
:
Promise
<
SpritesheetLoaderResource
>
Parameters
target
:
TSpritesheetLoaderTarget
options
:
ISpritesheetLoaderOption
= {}
Returns
Promise
<
SpritesheetLoaderResource
>
Protected
_resolve
Params
_resolveParams
(
target
:
any
,
options
?:
ILoaderOption
)
:
ILoaderResolvedParam
Parameters
target
:
any
options
:
ILoaderOption
= {}
Returns
ILoaderResolvedParam
load
All
Async
loadAllAsync
(
targets
:
Record
<
string
,
TSpritesheetLoaderTarget
>
,
options
?:
ILoaderOption
,
)
:
Promise
<
Record
<
string
,
SpritesheetLoaderResource
>
>
Parameters
targets
:
Record
<
string
,
TSpritesheetLoaderTarget
>
Optional
options
:
ILoaderOption
Returns
Promise
<
Record
<
string
,
SpritesheetLoaderResource
>
>
load
Async
loadAsync
(
target
:
TSpritesheetLoaderTarget
,
options
?:
ILoaderOption
,
)
:
Promise
<
SpritesheetLoaderResource
>
Parameters
target
:
TSpritesheetLoaderTarget
Optional
options
:
ILoaderOption
Returns
Promise
<
SpritesheetLoaderResource
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
on
Loaded
Methods
_load
Async
_resolve
Params
load
All
Async
load
Async
@tawaship/pixim.js - v1.15.0
Loading...
Callback when one of the resources has succeeded loading.