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

    Class GifDecoder

    Inheritance
    System.Object
    GifDecoder
    Namespace: Unity.UIWidgets.ui
    Syntax
    public class GifDecoder : IDisposable

    Fields

    STATUS_FORMAT_ERROR

    Declaration
    public const int STATUS_FORMAT_ERROR = 1
    Field Value
    Type Description
    System.Int32

    STATUS_OK

    Declaration
    public const int STATUS_OK = 0
    Field Value
    Type Description
    System.Int32

    STATUS_OPEN_ERROR

    Declaration
    public const int STATUS_OPEN_ERROR = 2
    Field Value
    Type Description
    System.Int32

    Properties

    currentFrame

    Declaration
    public GifDecoder.GifFrame currentFrame { get; }
    Property Value
    Type Description
    GifDecoder.GifFrame

    done

    Declaration
    public bool done { get; }
    Property Value
    Type Description
    System.Boolean

    frameCount

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

    frameHeight

    Declaration
    public int frameHeight { get; }
    Property Value
    Type Description
    System.Int32

    frameWidth

    Declaration
    public int frameWidth { get; }
    Property Value
    Type Description
    System.Int32

    loopCount

    Declaration
    public int loopCount { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    Dispose()

    Declaration
    public void Dispose()

    nextFrame()

    Declaration
    public int nextFrame()
    Returns
    Type Description
    System.Int32

    read(Stream)

    Declaration
    public int read(Stream inStream)
    Parameters
    Type Name Description
    System.IO.Stream inStream
    Returns
    Type Description
    System.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