Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/UnrealEngine.h |
Include |
#include "UnrealEngine.h" |
class FScopedConditionalWorldSwitcher
When created, switches global context to a PIE world When destroyed, resets the GWorld back to what it was before
Name | Description | |
---|---|---|
|
FScopedConditionalWorldSwitcher ( |
Use the viewport to figure out what world to set temporarily |
|
FScopedConditionalWorldSwitcher ( |
Explicitly set to the specific world |
Name | Description | |
---|---|---|
|
~FScopedConditionalWorldSwitcher() |
Resets back to initial world |
Name |
Description |
---|---|
SwitchWorldForPIEDelegate |
Delegate to call to switch worlds for PIE viewports. |