CameraInputclass simplifies the process of recording video from one or multiple game cameras.
recorderwhich receives video frames that are recorded from the game camera(s). The constructor also accepts a
clockfor generating timestamps for the video frames that are committed.
ITextureInputwhich sends frames to a recorder:
CameraInputtypically commits frames from the game camera(s) 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.