Interface for creating a movie streaming player. 更多...
#include <MoviePlayer.h>
Public 成员函数 | |
| virtual void | Cleanup ()=0 |
| Called to allow the movie streamer to cleanup any resources once there are no movies left to play. | |
| virtual void | ForceCompletion ()=0 |
| Forces the movie streamer to cancel what it's streaming and close. | |
| virtual float | GetAspectRatio () const =0 |
| Gets the aspect ratio of the movie frames being streamed. | |
| virtual FString | GetMovieName ()=0 |
| returns the name of the movie currently being played | |
| virtual TSharedPtr< class ISlateViewport > | GetViewportInterface ()=0 |
| Gets a viewport interface which will be used to draw the movie. | |
| virtual bool | Init (const TArray< FString > &MoviePaths, TEnumAsByte< EMoviePlaybackType > inPlaybackType)=0 |
| Initializes this movie streamer with all the movie paths (ordered) we want to play Movie paths are local to the current game's Content/Movies/ directory. | |
| virtual bool | IsLastMovieInPlaylist ()=0 |
| returns true if the movie being played in the last one in the play list | |
| virtual void | Suspend () |
| Called by the engine on suspend/resume | |
| virtual bool | Tick (float DeltaTime)=0 |
| Code run every tick for any additional per tick handling of playing the movie. 更多... | |
Interface for creating a movie streaming player.
Should be one instance per platform.
|
pure virtual |
Code run every tick for any additional per tick handling of playing the movie.
Returns true if done.