Description

capture-to-gif.png
GIF commands in the inspector

Record a GIF.

In the settings, one can juggle between quickly encoded GIFs with palettes that may miss some colors, or slowly encoded GIFs with more comprehensive palettes. These settings must be chosen on a game-by-game basis.

Public Member Functions

string GIFRecord ()
 Command gif-record: Start recording a GIF. More...
 
IEnumerator GIFStop ()
 Command gif-stop: Stop recording a GIF and encode it. More...
 
string GIFCancel ()
 Command gif-cancel: Cancel GIF recording. More...
 

Public Attributes

int sampleFrames = 2
 1 -> sample first frame; 2 -> first and last; 3 -> first, middle, last, and so on