ScreenInputclass simplifies the process of recording video from the screen. Unlike the
CameraInput, the screen input grabs whatever is on screen without the ability to selectively include or exclude objects from being recorded.
recorderwhich receives video frames captured from the screen.
inputwhich receives video frames captured from the screen.
ScreenInputtypically commits frames from the screen on every Unity update. You can reduce this frequency by increasing the
frameSkipproperty. This is especially useful for creating animated GIF images which typically have a low frame rate look. It can also provide performance increases in GPU-bound applications.
FinishWritingon the recorder.