UAssetImportData::ScriptedAddFilename

Add or update a filename at the specified index.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h

Include

#include "EditorFramework/AssetImportData.h"

Source

/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp

Syntax

void ScriptedAddFilename
(
    const FString & InPath,
    int32 Index,
    FString SourceFileLabel
)

Remarks

Add or update a filename at the specified index. If the index is greater then the number of source file, it will add empty filenames to fill up to the specified index. The timespan and MD5 will be computed.

InPath: The filename we want to set at the specified index. Index: This specify the source file index in case you have many source file for an imported asset SourceFileLabel: Optional, can be empty string, the label we want to see in the UI when displaying the source file. (useful for multi source)

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