FindObjectWithOuter

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

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

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