UDatasmithRuntimeLibrary::LoadFileFromExplorer

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

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](Programming/UnrealArchitecture/Reference/Functions)(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.

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