Class GifCodec
Namespace: Unity.UIWidgets.ui
Syntax
public class GifCodec : Codec, IDisposable
Constructors
GifCodec(Byte[])
Declaration
public GifCodec(byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | bytes |
Properties
frameCount
Declaration
public int frameCount { get; }
Property Value
Type | Description |
---|---|
Int32 |
Implements
repetitionCount
Declaration
public int repetitionCount { get; }
Property Value
Type | Description |
---|---|
Int32 |
Implements
Methods
Dispose()
Declaration
public void Dispose()
getNextFrame()
Declaration
public FrameInfo getNextFrame()
Returns
Type | Description |
---|---|
FrameInfo |
Implements
isGif(Byte[])
Declaration
public static bool isGif(byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | bytes |
Returns
Type | Description |
---|---|
Boolean |