Class GifEncoderSettings
The settings of the GIF Encoder.
Inherited Members
Namespace: UnityEditor.Recorder.Encoder
Assembly: Unity.Recorder.Editor.dll
Syntax
[Serializable]
[EncoderSettings(typeof(GifEncoder))]
public sealed class GifEncoderSettings : IEncoderSettings, IEquatable<GifEncoderSettings>
Remarks
This class is sealed because users shouldn't inherit from it. Instead, create a new encoder along with its settings class.
Properties
Loop
Indicates whether the generated file should loop the frame sequence indefinitely or not.
Declaration
public bool Loop { get; set; }
Property Value
Type | Description |
---|---|
bool |
Quality
The quality of the GIF.
Declaration
public uint Quality { get; set; }
Property Value
Type | Description |
---|---|
uint |
Methods
Equals(object)
Compares the current object with another one.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current one. |
Returns
Type | Description |
---|---|
bool | True if the two objects are equal, false otherwise. |
Overrides
GetHashCode()
Returns a hash code of all serialized fields.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | The hash code. |