Class GifCodec | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class GifCodec

    Inheritance
    System.Object
    GifCodec
    Namespace: Unity.UIWidgets.ui
    Syntax
    public class GifCodec : Codec, IDisposable

    Constructors

    GifCodec(Byte[])

    Declaration
    public GifCodec(byte[] bytes)
    Parameters
    Type Name Description
    System.Byte[] bytes

    Properties

    frameCount

    Declaration
    public int frameCount { get; }
    Property Value
    Type Description
    System.Int32
    Implements
    Codec.frameCount

    repetitionCount

    Declaration
    public int repetitionCount { get; }
    Property Value
    Type Description
    System.Int32
    Implements
    Codec.repetitionCount

    Methods

    Dispose()

    Declaration
    public void Dispose()

    getNextFrame()

    Declaration
    public IPromise<FrameInfo> getNextFrame()
    Returns
    Type Description
    IPromise<FrameInfo>
    Implements
    Codec.getNextFrame()

    isGif(Byte[])

    Declaration
    public static bool isGif(byte[] bytes)
    Parameters
    Type Name Description
    System.Byte[] bytes
    Returns
    Type Description
    System.Boolean
    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