UObjectBaseUtility::GetTypedOuter

Traverses the outer chain searching for the next object of a certain type.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectBaseUtility.h"

Syntax

template<typename T>
T * GetTypedOuter() const

Remarks

Traverses the outer chain searching for the next object of a certain type. (T must be derived from UObject)

Returns

a pointer to the first object in this object's Outer chain which is of the correct type.

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