FDatasmithImporterUtils::FindObject

Find an object with a given name in a package Use [FSoftObjectPath](API\Runtime\CoreUObject\UObject\FSoftObjectPath) to perform the search Load the package /ParentPackage/ObjectName if it exists and is not in memory yet

Windows
MacOS
Linux

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/Utility/DatasmithImporterUtils.h

Include

#include "Utility/DatasmithImporterUtils.h"

Syntax

template<class ObjectType>
static ObjectType * FindObject
(
    const UPackage * ParentPackage,
    const FString & ObjectName
)

Remarks

Find an object with a given name in a package Use FSoftObjectPath to perform the search Load the package /ParentPackage/ObjectName if it exists and is not in memory yet

Parameters

Parameter

Description

ParentPackage

Parent package to look in

ObjectName

Name of object to look 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