UDatasmithRuntimeLibrary::LoadFileFromExplorer

Open a file browser to select a file and call LoadFile with the selected file

Choose your operating system:

Windows

macOS

Linux

References

Module

DatasmithRuntime

Header

/Engine/Plugins/Experimental/Enterprise/DatasmithRuntime/Source/Public/DatasmithRuntimeBlueprintLibrary.h

Include

#include "DatasmithRuntimeBlueprintLibrary.h"

Source

/Engine/Plugins/Experimental/Enterprise/DatasmithRuntime/Source/Private/DatasmithRuntimeBlueprintLibrary.cpp

Syntax

UFUNCTION(BlueprintCallable, Category="DatasmithRuntimeHelper")
static bool LoadFileFromExplorer
(
    ADatasmithRuntimeActor * DatasmithRuntimeActor,
    const FString & DefaultPath
)

Remarks

Open a file browser to select a file and call LoadFile with the selected file

Returns

true if an associated translator has been

Parameters

Parameter

Description

DatasmithRuntimeActor

The actor to load the file into

DefaultPath

Path to open the file browser in.