Navigation
API > API/Plugins > API/Plugins/PreLoadScreenMoviePlayer
Inheritance Hierarchy
- TSharedFromThis
- IPreLoadScreen
- FPreLoadScreenBase
- FPreLoadMoviePlayerScreenBase
References
| Module | PreLoadScreenMoviePlayer |
| Header | /Engine/Plugins/Runtime/PreLoadScreenMoviePlayer/Source/PreLoadScreenMoviePlayer/Public/PreLoadMoviePlayerScreenBase.h |
| Include | #include "PreLoadMoviePlayerScreenBase.h" |
Syntax
class FPreLoadMoviePlayerScreenBase : public FPreLoadScreenBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bInitialized | ||
| bool | bUserCalledFinish | User has called finish (needed if LoadingScreenAttributes.bAutoCompleteWhenLoadingCompletes is off) | |
| double | LastPlayTime | The last time a movie was started | |
| FPreLoadMovieAttributes | MovieAttributes | Attributes of the loading screen we are currently displaying | |
| TSharedPtr< SWidget > | MoviePlayerContents | ||
| TSharedPtr< IMovieStreamer, ESPMode::ThreadSafe > | MovieStreamer | ||
| FThreadSafeCounter | MovieStreamingIsDone | True if all movies have successfully streamed and completed | |
| TSharedPtr< SViewport > | MovieViewport |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FOptionalSize | |||
| FVector2D | GetMovieSize () |
Callbacks for movie viewport | |
| FOptionalSize | |||
| EVisibility | |||
| EVisibility | |||
| bool | |||
| bool | |||
| FReply | OnAnyDown () |
||
| FReply | OnLoadingScreenKeyDown
(
const FGeometry& Geometry, |
||
| FReply | OnLoadingScreenMouseButtonDown
(
const FGeometry& Geometry, |
||
| void | RegisterMovieStreamer
(
TSharedPtr< IMovieStreamer, ESPMode::ThreadSafe > MovieStreamerIn |
||
| void | SetMovieAttributes
(
const FPreLoadMovieAttributes& MovieAttributesIn |
Overridden from FPreLoadScreenBase
| Type | Name | Description | |
|---|---|---|---|
| void | InitSettingsFromConfig
(
const FString& ConfigFileName |
Handles constructing a FPreLoadSettingsContainerBase with the. |
Overridden from IPreLoadScreen
| Type | Name | Description | |
|---|---|---|---|
| void | CleanUp () |
||
| TSharedPtr< SWidget > | GetWidget () |
||
| const TSharedPtr< const SWidget > | GetWidget () |
||
| void | Init () |
||
| bool | IsDone () |
Default behavior is just to see if we have an active widget. Should really overload with our own behavior to see if we are done displaying. | |
| void | Store off TargetWindow. | ||
| void | OnStop () |
Callback for when a PreLoadScreen is no longer being displayed. | |
| void | RenderTick
(
float DeltaTime |
This tick happens as part of the slate render tick during an EarlyStartupLoadScreen | |
| void | Tick
(
float DeltaTime |
We don't use these in the FPreLoadScreenBase, but they are useful for game-specific implementations. |