Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
Include |
#include "UObject/UObjectGlobals.h" |
Source |
/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp |
bool StaticAllocateObjectErrorTests
(
const UClass * Class,
UObject * InOuter,
FName Name,
EObjectFlags SetFlags
)
Check for StaticAllocateObject error; only for use with the editor, make or other commandlets.
true if nullptr should be returned; there was a problem reported
Parameter |
Description |
---|---|
Class |
the class of the object to create |
InOuter |
the object to create this object within (the Outer property for the new object will be set to the value specified here). |
Name |
the name to give the new object. If no value (NAME_None) is specified, the object will be given a unique name in the form of ClassName_#. |
SetFlags |
the ObjectFlags to assign to the new object. some flags can affect the behavior of constructing the object. |