UObjectBaseUtility::GetOutermostObject

Walks up the list of outers until it finds the top-level one that isn't a package.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectBaseUtility.h"

Source

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

Syntax

UObject * GetOutermostObject() const

Remarks

Walks up the list of outers until it finds the top-level one that isn't a package. Will return null if called on a package Walks up the list of outers until it finds the top-level one that isn't a package. Will return null if called on a package

Returns

outermost non-null, non-package Outer.

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