Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h |
Include |
#include "EditorFramework/AssetImportData.h" |
class UAssetImportData : public UObject
Todo: Make this class better suited to multiple import paths - maybe have FAssetImportInfo use a map rather than array?
Name | Description | ||
---|---|---|---|
|
SourceData |
Source file data describing the files that were used to import this asset. |
Name | Description | |
---|---|---|
|
UAssetImportData ( |
Name | Description | ||
---|---|---|---|
|
AddFileName |
Add a filename at the specific index. |
|
|
AppendAssetRegistryTags ( |
If your asset import data flavor need to add some asset registry tag, override this function. |
|
|
ExtractDisplayLabels |
||
|
ExtractFilenames |
Extract all the (resolved) filenames from this data |
|
|
ExtractFilenames() |
Extract all the (resolved) filenames from this data |
|
|
GetFirstFilename() |
Helper function to return the first filename stored in this data. |
|
|
const FAsset... |
GetSourceData() |
Const access to the source file data |
|
GetSourceFileCount() |
||
|
K2_ExtractFilenames() |
Extract all the (resolved) filenames from this data |
|
|
K2_GetFirstFilename() |
Helper function to return the first filename stored in this data. |
|
|
ResolveImportFilename |
Resolve a filename that is relative to either the specified package, BaseDir() or absolute |
|
|
ResolveImportFilename ( |
Resolve a filename that is relative to either this object's package, BaseDir() or absolute |
|
|
SanitizeImportFilename |
Convert an absolute import path so that it's relative to either this object's package, BaseDir() or leave it absolute |
|
|
SanitizeImportFilename |
Convert an absolute import path so that it's relative to either this object's package, BaseDir() or leave it absolute |
|
|
SanitizeImportFilename ( |
Convert an absolute import path so that it's relative to either this object's package, BaseDir() or leave it absolute |
|
|
ScriptedAddFilename |
Add or update a filename at the specified index. |
|
|
SetSourceFiles |
Replace the source files with the one provided. The MD5 hashes will be computed if they aren't set |
|
|
Update |
Update this import data using the specified file. |
|
|
Update |
Update this import data using the specified filename and Precomputed Hash. |
|
|
UpdateFilenameOnly ( |
Update this import data using the specified filename. |
|
|
UpdateFilenameOnly |
Update the filename at the specific specified index. |
Name | Description | ||
---|---|---|---|
|
IsEditorOnly() |
Only valid in the editor |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
Serialize ( |
Overridden serialize function to write out the underlying data as json |
Name |
Description |
---|---|
OnImportDataChanged |
Static event that is broadcast whenever any asset has updated its import data |
Name | Description | ||
---|---|---|---|
|
SourceFilePath_DEPRECATED |
Path to the resource used to construct this static mesh. |
|
|
SourceFileTimestamp_DEPRECATED |
Date/Time-stamp of the file from the last import |