UnhashUnreachableObjects

Calls ConditionalBeginDestroy on unreachable objects

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h

Include

#include "UObject/UObjectGlobals.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/GarbageCollection.cpp

Syntax

bool UnhashUnreachableObjects
(
    bool bUseTimeLimit,
    float TimeLimit
)

Remarks

Calls ConditionalBeginDestroy on unreachable objects

Returns

true if the time limit passed and there's still objects pending to be unhashed

Parameters

Parameter

Description

bUseTimeLimit

whether the time limit parameter should be used

TimeLimit

soft time limit for this function call

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss