Class GIFRecorderSettings
A class that represents the settings of a GIF Recorder.
Inherited Members
Namespace: UnityEditor.Recorder
Syntax
public class GIFRecorderSettings : BaseFCRecorderSettings
Constructors
GIFRecorderSettings()
Default constructor.
Declaration
public GIFRecorderSettings()
Properties
Extension
Stores the file extension used by this Recorder (without the dot).
Declaration
protected override string Extension { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
KeyframeInterval
The frame interval between keyframes (value between 1 and 120). This defines how many frames share the same color palette.
Declaration
public int KeyframeInterval { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
MaxTasks
The maximum number of threads to use to encode output frames (value between 1 and 32).
Declaration
public int MaxTasks { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
NumColors
The number of colors used in the GIF palette for the output. Maximum is 256.
Declaration
public int NumColors { get; set; }
Property Value
Type | Description |
---|---|
Int32 |