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"

Source

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

Syntax

UObject * GetTypedOuter
(
    UClass * Target
) 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.

Parameters

Parameter

Description

Target

class to search for

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