Companion

Properties

Link copied to clipboard

The KSLCore version recorded in the jar's manifest, written into each trace header so a trace says which library produced it. Null when running from classes rather than the jar.

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, kslVersion: String? = libraryVersion): 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.