StaticFindObjectFastExplicit

Variation of StaticFindObjectFast that uses explicit path.

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

UObject * StaticFindObjectFastExplicit
(
    const UClass * ObjectClass,
    FName ObjectName,
    const FString & ObjectPathName,
    bool bExactClass,
    EObjectFlags ExcludeFlags
)

Remarks

Variation of StaticFindObjectFast that uses explicit path.

Variation of StaticFindObjectFast that uses explicit path.

Returns

Returns a pointer to the found object or nullptr if none could be found

Parameters

Parameter

Description

ObjectClass

The to be found object's class

ObjectName

The to be found object's class

ObjectPathName

Full path name for the object to search for

ExactClass

Whether to require an exact match with the passed in class

ExclusiveFlags

Ignores objects that contain any of the specified exclusive flags

ObjectClass

The to be found object's class

ObjectName

The to be found object's class

ObjectPathName

Full path name for the object to search for

ExactClass

Whether to require an exact match with the passed in class

ExclusiveFlags

Ignores objects that contain any of the specified exclusive flags

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