FAutomationEditorCommonUtils::ImportAssetUsingFactory

Imports an object using a given factory

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Tests/AutomationEditorCommon.h

Include

#include "Tests/AutomationEditorCommon.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Tests/AutomationEditorCommon.cpp

Syntax

static UObject * ImportAssetUsingFactory
(
    UFactory * ImportFactory,
    const FString & ObjectName,
    const FString & PackageName,
    const FString & ImportPath
)

Remarks

Imports an object using a given factory

Parameters

Parameter

Description

ImportFactory

The factory to use to import the object

ObjectName

The name of the object to create

PackagePath

The full path of the package file to create

ImportPath

The path to the object to import

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