Loom Engine - v3.1.1
GitHub
TheWorldTable.ai
Preparing search index...
TweenChain
Class TweenChain
Index
Methods
create
to
delay
call
start
cancel
is
Active
has
Completed
total
Duration
step
Count
update
Methods
Static
create
create
()
:
TweenChain
Returns
TweenChain
to
to
(
from
:
number
,
to
:
number
,
durationSeconds
:
number
,
onUpdate
:
(
value
:
number
)
=>
void
,
easing
?:
|
EasingFn
|
"linear"
|
"easeInQuad"
|
"easeOutQuad"
|
"easeInOutQuad"
|
"easeInCubic"
|
"easeOutCubic"
|
"easeInOutCubic"
|
"easeInQuart"
|
"easeOutQuart"
|
"easeInOutQuart"
|
"easeInSine"
|
"easeOutSine"
|
"easeInOutSine"
|
"easeInBack"
|
"easeOutBack"
|
"easeInOutBack"
|
"easeInElastic"
|
"easeOutElastic"
|
"easeInOutElastic"
|
"easeOutBounce"
|
"easeInBounce"
|
"easeInOutBounce"
,
)
:
TweenChain
Parameters
from
:
number
to
:
number
durationSeconds
:
number
onUpdate
:
(
value
:
number
)
=>
void
Optional
easing
:
|
EasingFn
|
"linear"
|
"easeInQuad"
|
"easeOutQuad"
|
"easeInOutQuad"
|
"easeInCubic"
|
"easeOutCubic"
|
"easeInOutCubic"
|
"easeInQuart"
|
"easeOutQuart"
|
"easeInOutQuart"
|
"easeInSine"
|
"easeOutSine"
|
"easeInOutSine"
|
"easeInBack"
|
"easeOutBack"
|
"easeInOutBack"
|
"easeInElastic"
|
"easeOutElastic"
|
"easeInOutElastic"
|
"easeOutBounce"
|
"easeInBounce"
|
"easeInOutBounce"
Returns
TweenChain
delay
delay
(
durationSeconds
:
number
)
:
TweenChain
Parameters
durationSeconds
:
number
Returns
TweenChain
call
call
(
fn
:
()
=>
void
)
:
TweenChain
Parameters
fn
:
()
=>
void
Returns
TweenChain
start
start
(
opts
?:
TweenChainStartOptions
)
:
TweenChain
Parameters
opts
:
TweenChainStartOptions
= {}
Returns
TweenChain
cancel
cancel
()
:
void
Returns
void
is
Active
isActive
()
:
boolean
Returns
boolean
has
Completed
hasCompleted
()
:
boolean
Returns
boolean
total
Duration
totalDuration
()
:
number
Returns
number
step
Count
stepCount
()
:
number
Returns
number
update
update
(
dtSeconds
:
number
)
:
void
Parameters
dtSeconds
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
to
delay
call
start
cancel
is
Active
has
Completed
total
Duration
step
Count
update
GitHub
TheWorldTable.ai
Loom Engine - v3.1.1
Loading...