ScreenRecorder

ScreenRecorder extension can be used to record to contents of a Program to a video

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
open override var enabled: Boolean
Link copied to clipboard
Link copied to clipboard

should a frameclock be installed, if false system clock is used

Link copied to clipboard

the framerate of the output video

Link copied to clipboard

how many frames to skip before starting to record

Link copied to clipboard
var height: Int?

optional height, overrides the program height

Link copied to clipboard

the maximum duration in seconds

Link copied to clipboard

the maximum duration in frames

Link copied to clipboard

should multisampling be used?

Link copied to clipboard

the output file, auto-determined if left null

Link copied to clipboard

is video recording enabled or paused?

Link copied to clipboard

the profile to use for the output video

Link copied to clipboard

when set to true, program.application.exit() will be issued after the maximum duration has been reached

Link copied to clipboard

what time the video recorder should start recording at

Link copied to clipboard
var width: Int?

optional width, overrides the program width

Functions

Link copied to clipboard
open override fun afterDraw(drawer: Drawer, program: Program)
Link copied to clipboard
open override fun beforeDraw(drawer: Drawer, program: Program)
Link copied to clipboard
fun ScreenRecorder.h264(configure: H264Profile.() -> Unit)
Link copied to clipboard
open override fun setup(program: Program)
Link copied to clipboard
open override fun shutdown(program: Program)