Loom Engine - v3.1.1
GitHub
TheWorldTable.ai
Preparing search index...
GhostReplay
Class GhostReplay
Index
Methods
create
start
Recording
is
Recording
record
Snapshot
stop
Recording
cancel
Recording
play
stop
stop
All
pause
resume
set
Speed
has
get
Ghost
list
for
Each
count
tick
export
Recording
import
Recording
dispose
Methods
Static
create
create
(
opts
?:
GhostReplayOptions
)
:
GhostReplay
Parameters
opts
:
GhostReplayOptions
= {}
Returns
GhostReplay
start
Recording
startRecording
(
opts
?:
GhostStartRecordingOptions
)
:
boolean
Parameters
opts
:
GhostStartRecordingOptions
= {}
Returns
boolean
is
Recording
isRecording
()
:
boolean
Returns
boolean
record
Snapshot
recordSnapshot
(
s
:
{
x
:
number
;
y
:
number
;
rotation
?:
number
;
animationId
?:
string
;
data
?:
Record
<
string
,
unknown
>
;
}
,
)
:
boolean
Parameters
s
:
{
x
:
number
;
y
:
number
;
rotation
?:
number
;
animationId
?:
string
;
data
?:
Record
<
string
,
unknown
>
;
}
Returns
boolean
stop
Recording
stopRecording
()
:
GhostRecording
|
null
Returns
GhostRecording
|
null
cancel
Recording
cancelRecording
()
:
void
Returns
void
play
play
(
recording
:
GhostRecording
,
opts
?:
PlayGhostOptions
)
:
boolean
Parameters
recording
:
GhostRecording
opts
:
PlayGhostOptions
= {}
Returns
boolean
stop
stop
(
id
:
string
)
:
boolean
Parameters
id
:
string
Returns
boolean
stop
All
stopAll
()
:
void
Returns
void
pause
pause
(
id
:
string
)
:
boolean
Parameters
id
:
string
Returns
boolean
resume
resume
(
id
:
string
)
:
boolean
Parameters
id
:
string
Returns
boolean
set
Speed
setSpeed
(
id
:
string
,
multiplier
:
number
)
:
boolean
Parameters
id
:
string
multiplier
:
number
Returns
boolean
has
has
(
id
:
string
)
:
boolean
Parameters
id
:
string
Returns
boolean
get
Ghost
getGhost
(
id
:
string
)
:
GhostSnapshot
|
null
Parameters
id
:
string
Returns
GhostSnapshot
|
null
list
list
()
:
GhostSnapshot
[]
Returns
GhostSnapshot
[]
for
Each
forEach
(
cb
:
(
s
:
GhostSnapshot
)
=>
void
)
:
void
Parameters
cb
:
(
s
:
GhostSnapshot
)
=>
void
Returns
void
count
count
()
:
number
Returns
number
tick
tick
(
dtMs
:
number
)
:
void
Parameters
dtMs
:
number
Returns
void
export
Recording
exportRecording
(
recording
:
GhostRecording
)
:
string
Parameters
recording
:
GhostRecording
Returns
string
import
Recording
importRecording
(
data
:
string
)
:
GhostRecording
|
null
Parameters
data
:
string
Returns
GhostRecording
|
null
dispose
dispose
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
start
Recording
is
Recording
record
Snapshot
stop
Recording
cancel
Recording
play
stop
stop
All
pause
resume
set
Speed
has
get
Ghost
list
for
Each
count
tick
export
Recording
import
Recording
dispose
GitHub
TheWorldTable.ai
Loom Engine - v3.1.1
Loading...