Preparing search index...
The search index is not available
sparkengineweb
sparkengineweb
AnimationComponent
Class AnimationComponent
Hierarchy (
view full
)
BaseComponent
AnimationComponent
Index
Constructors
constructor
Properties
uuid
Accessors
current
Frame
frames
is
Playing
Methods
get
Container
load
Assets
pause
play
set
Container
stop
to
Json
update
Constructors
constructor
new
Animation
Component
(
props
)
:
AnimationComponent
Parameters
props
:
AnimationComponentProps
Returns
AnimationComponent
Properties
Readonly
uuid
uuid
:
string
= ...
Accessors
current
Frame
get
currentFrame
(
)
:
number
Returns
number
frames
get
frames
(
)
:
AnimationFrame
[]
Returns
AnimationFrame
[]
is
Playing
get
isPlaying
(
)
:
boolean
Returns
boolean
Methods
get
Container
get
Container
(
)
:
undefined
|
IEntity
Returns
undefined
|
IEntity
load
Assets
load
Assets
(
loader
)
:
void
Parameters
loader
:
ImageLoader
Returns
void
pause
pause
(
)
:
void
Returns
void
play
play
(
)
:
void
Returns
void
set
Container
set
Container
(
container
)
:
void
Parameters
container
:
IEntity
Returns
void
stop
stop
(
)
:
void
Returns
void
to
Json
to
Json
(
)
:
WithType
<
AnimationComponentProps
>
Returns
WithType
<
AnimationComponentProps
>
update
update
(
deltaTime
)
:
void
Parameters
deltaTime
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
uuid
Accessors
current
Frame
frames
is
Playing
Methods
get
Container
load
Assets
pause
play
set
Container
stop
to
Json
update
sparkengineweb
Loading...