Class GIFRecorderSettings | Unity Recorder | 2.1.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class GIFRecorderSettings

    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
    [RecorderSettings(typeof(GIFRecorder), "GIF Animation", "imagesequence_16")]
    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

    Use this property to set 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

    Use this property to set 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

    Use this property to set 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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023