Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FUObjectAllocator
Description
Returns a UObjectBase to the free store, unless it is in the permanent object pool
Returns a UObjectBase to the free store, unless it is in the permanent object pool
| Name | FreeUObject |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectAllocator.h |
| Include Path | #include "UObject/UObjectAllocator.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectAllocator.cpp |
void FreeUObject
(
UObjectBase * Object,
int32 OffsetToObject
) const
Parameters
| Name | Remarks |
|---|---|
| Object | object to free |
| OffsetToObject | offset to Object in allocation. Should match the value sent into AllocateUObject |