Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/FUObjectAllocator
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectAllocator.h |
Include | #include "UObject/UObjectAllocator.h" |
Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectAllocator.cpp |
UObjectBase &42; AllocateUObject
&40;
int32 Size,
int32 Alignment,
bool bAllowPermanent
&41;
Remarks
Allocates a UObjectBase from the free store or the permanent object pool newly allocated UObjectBase (not really a UObjectBase yet, no constructor like thing has been called).
Parameters
Name | Description |
---|---|
Size | size of uobject to allocate |
Alignment | alignment of uobject to allocate |
bAllowPermanent | if true, allow allocation in the permanent object pool, if it fits |