@modoki/engine / index / inPreviewSession
Function: inPreviewSession()
inPreviewSession():
boolean
Inside the editor PREVIEW-SESSION envelope (scrub OR preview): the world is snapshotted and will revert on Exit, the timeline owns emission, and +FX blanket force-play is suppressed. Distinct from real Play (playing), which is not a preview session. (preview-mode-refactor §2.0.)
Returns
boolean