@turbowarp/types-tw
Preparing search index...
scratch-vm
VM
FrameLoop
Interface FrameLoop
interface
FrameLoop
{
_interpolationAnimation
?:
{
cancel
()
:
void
}
;
_noopAnimation
?:
{
cancel
()
:
void
}
;
_stepAnimation
?:
{
cancel
()
:
void
}
;
_stepInterval
?:
number
;
framerate
:
number
;
interpolation
:
boolean
;
running
:
boolean
;
runtime
:
Runtime
;
_restart
()
:
void
;
interpolationCallback
()
:
void
;
noopCallback
()
:
void
;
setFramerate
(
framerate
:
number
)
:
void
;
setInterpolation
(
interpolation
:
boolean
)
:
void
;
start
()
:
void
;
stepCallback
()
:
void
;
stop
()
:
void
;
}
Index
Properties
_
interpolation
Animation?
_
noop
Animation?
_
step
Animation?
_
step
Interval?
framerate
interpolation
running
runtime
Methods
_
restart
interpolation
Callback
noop
Callback
set
Framerate
set
Interpolation
start
step
Callback
stop
Properties
Optional
_
interpolation
Animation
_interpolationAnimation
?:
{
cancel
()
:
void
}
Optional
_
noop
Animation
_noopAnimation
?:
{
cancel
()
:
void
}
Optional
_
step
Animation
_stepAnimation
?:
{
cancel
()
:
void
}
Optional
_
step
Interval
_stepInterval
?:
number
framerate
framerate
:
number
interpolation
interpolation
:
boolean
running
running
:
boolean
runtime
runtime
:
Runtime
Methods
_
restart
_restart
()
:
void
Returns
void
interpolation
Callback
interpolationCallback
()
:
void
Returns
void
noop
Callback
noopCallback
()
:
void
Returns
void
set
Framerate
setFramerate
(
framerate
:
number
)
:
void
Parameters
framerate
:
number
Returns
void
set
Interpolation
setInterpolation
(
interpolation
:
boolean
)
:
void
Parameters
interpolation
:
boolean
Returns
void
start
start
()
:
void
Returns
void
step
Callback
stepCallback
()
:
void
Returns
void
stop
stop
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
_
interpolation
Animation
_
noop
Animation
_
step
Animation
_
step
Interval
framerate
interpolation
running
runtime
Methods
_
restart
interpolation
Callback
noop
Callback
set
Framerate
set
Interpolation
start
step
Callback
stop
@turbowarp/types-tw
Loading...