FUnsafeObjectIterator

Class for iterating through all objects, including class default objects.

Windows
MacOS
Linux

Type

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectIterator.h"

Remarks

Class for iterating through all objects, including class default objects.

that when Playing In Editor, this will find objects in the editor as well as the PIE world, in an indeterminate order. This iterator does not lock the gloabl FUObjectArray when iterating over it which may result in race conditions.

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