UObjectBaseUtility::GetTypedOuter

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

References

Module

CoreUObject

Header

Runtime/CoreUObject/Public/UObject/UObjectBaseUtility.h

Source

Runtime/CoreUObject/Private/UObject/UObjectBaseUtility.cpp