Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
Include |
#include "Engine/Engine.h" |
enum EGetWorldErrorMode
{
ReturnNull,
LogAndReturnNull,
Assert,
}
Name |
Description |
---|---|
ReturnNull |
Silently returns nullptr, the calling code is expected to handle this gracefully. |
LogAndReturnNull |
Raises a runtime error but still returns nullptr, the calling code is expected to handle this gracefully. |
Assert |
Asserts, the calling code is not expecting to handle a failure gracefully. |
The kind of failure handling that GetWorldFromContextObject uses.