Luxar Viewer API Documentation - v2026.9.22
GitHub
Preparing search index...
ui/recording-panel/screenshot-strategy
ScreenshotStrategy
Class ScreenshotStrategy
Implements
CaptureStrategy
Index
Constructors
constructor
Properties
kind
in
Progress
scene
Manager
hooks
Methods
can
Run
run
abort
dispose
is
In
Progress
Constructors
constructor
new
ScreenshotStrategy
(
sceneManager
:
SceneManager
,
hooks
:
ScreenshotStrategyHooks
,
)
:
ScreenshotStrategy
Parameters
sceneManager
:
SceneManager
hooks
:
ScreenshotStrategyHooks
Returns
ScreenshotStrategy
Properties
Readonly
kind
kind
:
"screenshot"
= ...
Private
in
Progress
inProgress
:
boolean
= false
Private
Readonly
scene
Manager
sceneManager
:
SceneManager
Private
Readonly
hooks
hooks
:
ScreenshotStrategyHooks
Methods
can
Run
canRun
(
state
:
SessionState
)
:
boolean
Parameters
state
:
SessionState
Returns
boolean
run
run
(
opts
:
RecordingOptions
,
_mode
:
RecordingMode
,
session
:
RecordingSession
,
)
:
Promise
<
void
>
Parameters
opts
:
RecordingOptions
_mode
:
RecordingMode
session
:
RecordingSession
Returns
Promise
<
void
>
abort
abort
()
:
void
Returns
void
dispose
dispose
()
:
void
Returns
void
is
In
Progress
isInProgress
()
:
boolean
Test-facing: lets the in-progress flag be probed/forced from tests.
Returns
boolean
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
kind
in
Progress
scene
Manager
hooks
Methods
can
Run
run
abort
dispose
is
In
Progress
GitHub
Luxar Viewer API Documentation - v2026.9.22
Loading...
Test-facing: lets the in-progress flag be probed/forced from tests.