docs.unity.cn
    Show / Hide Table of Contents

    Class GIFRecorderSettings

    A class that represents the settings of a GIF Recorder.

    Inheritance
    Object
    RecorderSettings
    BaseFCRecorderSettings
    GIFRecorderSettings
    Inherited Members
    BaseFCRecorderSettings.ValidityCheck(List<String>)
    BaseFCRecorderSettings.imageInputSettings
    BaseFCRecorderSettings.IsPlatformSupported
    BaseFCRecorderSettings.InputsSettings
    RecorderSettings.OutputFile
    RecorderSettings.Enabled
    RecorderSettings.Take
    RecorderSettings.FileNameGenerator
    RecorderSettings.RecordMode
    RecorderSettings.FrameRatePlayback
    RecorderSettings.FrameRate
    RecorderSettings.StartFrame
    RecorderSettings.EndFrame
    RecorderSettings.StartTime
    RecorderSettings.EndTime
    RecorderSettings.CapFrameRate
    RecorderSettings.OnAfterDuplicate()
    RecorderSettings.HasErrors()
    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
    RecorderSettings.Extension

    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
    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Friday, November 5, 2021
    Terms of use