Companion

Functions

Link copied to clipboard
fun toFile(model: Model, traceFile: Path, mode: AnimationCapture.Mode = Mode.MEMORY, capturedReplications: Set<Int>? = setOf(1), captureSpec: CaptureSpec = CaptureSpec(), overlays: OverlaySpec = OverlaySpec.OFF, asyncCapacity: Int = AsyncAnimationSink.DEFAULT_CAPACITY, description: String? = null): AnimationCapture

Creates a JsonLinesAnimationOutput for traceFile and captures model into it — the common case, so a caller needs only a model and a destination path.