|
void | Play (ProGifRecorder recorder, UnityEngine.UI.Image destination, bool optimizeMemoryUsage) |
| Play gif frames in the specified recorder, display with image.
|
|
void | Play (ProGifRecorder recorder, Renderer destination, bool optimizeMemoryUsage) |
| Play gif frames in the specified recorder, display with renderer.
|
|
void | Play (ProGifRecorder recorder, RawImage destination, bool optimizeMemoryUsage) |
| Play gif frames in the specified recorder, display with RawImage.
|
|
void | Pause () |
|
void | Resume () |
|
void | Stop () |
|
int | Reverse () |
| Reverse the gif texture list. You can use this method to implement a reverse playback mode. Call this again to set back to normal playback direction. Also make sure all textures imported/loaded to the player first.
|
|
void | PingPong () |
| Sets the target gif player to play with ping-pong play mode. This method utilizes the OnPlayingCallback. Please make sure not to override the callback. Also make sure all textures imported/loaded to the player first.
|
|
void | CancelPingPong () |
|
void | SetLoadingCallback (Action< float > onLoading) |
| Set the callback for checking the texture import progress for gif instant preview.
|
|
void | SetOnFirstFrameCallback (Action< ProGifPlayerComponent.FirstGifFrame > onFirstFrame) |
| Set the callback to be fired when the first gif frame ready. If using a recorder source for playback, this becomes a loading-complete callback with the first GIF frame returned.
|
|
void | SetOnPlayingCallback (Action< GifTexture > onPlaying) |
| Set the callback to be fired on every frame during play gif.
|
|
void | ChangeDestination (UnityEngine.UI.Image destination) |
| Change the destination image for displaying gif.
|
|
void | ChangeDestination (Renderer destination) |
| Change the destination renderer for displaying gif.
|
|
void | AddExtraDestination (UnityEngine.UI.Image destination) |
| Add an extra destination image for displaying gif.
|
|
void | AddExtraDestination (Renderer destination) |
| Add an extra destination renderer for displaying gif.
|
|
void | RemoveFromExtraDestination (UnityEngine.UI.Image destination) |
| Remove a specific extra destination image from the extra list.
|
|
void | RemoveFromExtraDestination (Renderer destination) |
| Remove a specific extra destination renderer from the extra list.
|
|
void | Clear () |
| Clear this instance, clear all textures/sprites.
|
|