FindObjectWithOuter

Find an objects with a given name and or class within an outer

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectHash.h"

Source

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

Syntax

UObjectBase * FindObjectWithOuter
(
    const class UObjectBase * Outer,
    const class UClass * ClassToLookFor,
    FName NameToLookFor
)

Remarks

Find an objects with a given name and or class within an outer

Parameters

Parameter

Description

Outer

Outer to search for

ClassToLookFor

if NULL, ignore this parameter, otherwise require the returned object have this class

NameToLookFor

if NAME_None, ignore this parameter, otherwise require the returned object have this name