Class ImageCodec
Inheritance
System.Object
ImageCodec
Namespace: Unity.UIWidgets.ui
Syntax
public class ImageCodec : Codec, IDisposable
Constructors
ImageCodec(Image)
Declaration
public ImageCodec(Image image)
Parameters
Type | Name | Description |
---|---|---|
Image | image |
Properties
frameCount
Declaration
public int frameCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Implements
repetitionCount
Declaration
public int repetitionCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Implements
Methods
Dispose()
Declaration
public void Dispose()
getNextFrame()
Declaration
public IPromise<FrameInfo> getNextFrame()
Returns
Type | Description |
---|---|
IPromise<FrameInfo> |