class that encapsulates seamless world traveling 更多...
#include <World.h>
Public 成员函数 | |
| void | CancelTravel () |
| cancels transition in progress | |
| FString | GetDestinationMapName () const |
| const UWorld * | GetLoadedWorld () const |
| FORCEINLINE bool | HasSwitchedToDefaultMap () const |
| FORCEINLINE bool | IsInTransition () const |
| void | SetPauseAtMidpoint (bool bNowPaused) |
| turns on/off pausing after loading the transition map only valid during travel, before we've started loading the final destination 更多... | |
| bool | StartTravel (UWorld *InCurrentWorld, const FURL &InURL, const FGuid &InGuid) |
| starts traveling to the given URL. 更多... | |
| ENGINE_API UWorld * | Tick () |
| Ticks the transition; handles performing the world switch once the required packages have been loaded 更多... | |
class that encapsulates seamless world traveling
|
inline |
|
inline |
|
inline |
|
inline |
| void FSeamlessTravelHandler::SetPauseAtMidpoint | ( | bool | bNowPaused | ) |
turns on/off pausing after loading the transition map only valid during travel, before we've started loading the final destination
| bNowPaused | - whether the transition should now be paused |
| bool FSeamlessTravelHandler::StartTravel | ( | UWorld * | InCurrentWorld, |
| const FURL & | InURL, | ||
| const FGuid & | InGuid | ||
| ) |
starts traveling to the given URL.
The required packages will be loaded async and Tick() will perform the transition once we are ready
| InURL | the URL to travel to |
| InGuid | the GUID of the destination map package |
| ENGINE_API UWorld * FSeamlessTravelHandler::Tick | ( | ) |
Ticks the transition; handles performing the world switch once the required packages have been loaded