Preparing search index...
The search index is not available
TypeSpriteJS Game Engine - API
TypeSpriteJS Game Engine - API
TimelineBuilder
Class TimelineBuilder
Hierarchy
TimelineBuilder
Implements
ITimelineBuilder
Index
Constructors
constructor
Properties
_duration
_events
_loop
_name
_result
layer
marks
Accessors
result
Methods
apply
at
done
get
Duration
get
Loop
get
Mark
Value
get
Name
mark
name
prepare
prepare
Events
prop
step
Timeline
Constructors
constructor
new
Timeline
Builder
(
)
:
TimelineBuilder
Returns
TimelineBuilder
Properties
Private
_duration
_duration
:
number
= null
Private
_events
_events
:
EventcConfig
[]
= []
Private
_loop
_loop
:
boolean
Private
_name
_name
:
string
Private
_result
_result
:
PreparedTimeline
= null
Private
layer
layer
:
BaseLayerBuilder
[]
= []
Private
marks
marks
:
Map
<
string
,
string
|
number
>
= ...
Accessors
result
get
result
(
)
:
PreparedTimeline
Returns
PreparedTimeline
Methods
Private
apply
apply
(
time
:
number
)
:
void
Parameters
time:
number
Returns
void
at
at
(
when
:
TimePoint
, applyFunc
:
ApplyFunc
)
:
TimelineBuilder
Parameters
when:
TimePoint
applyFunc:
ApplyFunc
Returns
TimelineBuilder
done
done
(
duration
:
number
, loop
?:
boolean
)
:
PreparedTimeline
Parameters
duration:
number
loop:
boolean
= false
Returns
PreparedTimeline
get
Duration
get
Duration
(
)
:
number
Returns
number
get
Loop
get
Loop
(
)
:
boolean
Returns
boolean
get
Mark
Value
get
Mark
Value
(
markId
:
string
)
:
string
|
number
Parameters
markId:
string
Returns
string
|
number
get
Name
get
Name
(
)
:
string
Returns
string
mark
mark
(
markId
:
string
, val
:
string
|
number
)
:
TimelineBuilder
Parameters
markId:
string
val:
string
|
number
Returns
TimelineBuilder
name
name
(
name
:
string
)
:
TimelineBuilder
Parameters
name:
string
Returns
TimelineBuilder
Private
prepare
prepare
(
context
:
PreparedTimeline
)
:
[
PreparedTimelineLayer
[]
,
EventPrepared
[]
]
Parameters
context:
PreparedTimeline
Returns
[
PreparedTimelineLayer
[]
,
EventPrepared
[]
]
Private
prepare
Events
prepare
Events
(
)
:
EventPrepared
[]
Returns
EventPrepared
[]
prop
prop
(
applyFunc
:
ApplyFunc
, layerId
?:
string
)
:
TimelineLayerBuilder
Parameters
applyFunc:
ApplyFunc
layerId:
string
= ""
Returns
TimelineLayerBuilder
step
Timeline
step
Timeline
(
layerId
?:
string
)
:
StepTimelineLayerBuilder
Parameters
layerId:
string
= ""
Returns
StepTimelineLayerBuilder
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Type
SpriteJS
Game
Engine -
API
Timeline
Builder
constructor
_duration
_events
_loop
_name
_result
layer
marks
result
apply
at
done
get
Duration
get
Loop
get
Mark
Value
get
Name
mark
name
prepare
prepare
Events
prop
step
Timeline
Generated using
TypeDoc