Decoding large GIF-files can take time. In this case, best practice is to display progress bar. This example shows how to use decode iterator.
Namespace:
Assets.PowerGif.Examples.Scripts
Assembly: Assembly-CSharp (in Assembly-CSharp.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Class DecodeProgressExample |
| C# |
|---|
public class DecodeProgressExample : ExampleBase |
| C++ |
|---|
public ref class DecodeProgressExample : public ExampleBase^ |
| JScript |
|---|
public class DecodeProgressExample |
Inheritance Hierarchy
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
Assets.PowerGif.Examples.Scripts.ExampleBase
Assets.PowerGif.Examples.Scripts.DecodeProgressExample
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
Assets.PowerGif.Examples.Scripts.ExampleBase
Assets.PowerGif.Examples.Scripts.DecodeProgressExample