Navigation
API > API/Runtime > API/Runtime/InterchangeCore
Helper class to be able to read different source data File on disk HTTP URL (TODO) Memory buffer (TODO) Stream (TODO)
| Name | UInterchangeSourceData |
| Type | class |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/InterchangeSourceData.h |
| Include Path | #include "InterchangeSourceData.h" |
Syntax
UCLASS (BlueprintType, Blueprintable, MinimalAPI)
class UInterchangeSourceData : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInterchangeSourceData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| InterchangeSourceData.h | |||
UInterchangeSourceData
(
FString InFilename |
InterchangeSourceData.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ContextObjectsByTag | TMap< FString, TObjectPtr< UObject > > | UObjects that are accessible by the translators, pipelines, and the caller of the Interchange import. | InterchangeSourceData.h | |
| FileContentHashCache | TOptional< FMD5Hash > | Hash cache for the file content. | InterchangeSourceData.h | |
| Filename | FString | InterchangeSourceData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< FString > GetAllContextObjectTags() |
InterchangeSourceData.h |
|
|
UObject * GetContextObjectByTag
(
const FString& Tag |
InterchangeSourceData.h |
|
|
| Return the hash of the content point by Filename. | InterchangeSourceData.h | ||
FString GetFilename() |
InterchangeSourceData.h |
|
|
void RemoveAllContextObjects() |
InterchangeSourceData.h |
|
|
void SetContextObjectByTag
(
const FString& Tag, |
InterchangeSourceData.h |
|
|
bool SetFilename
(
const FString& InFilename |
InterchangeSourceData.h |
|
|
FString ToDisplayString() |
Return a easy to read source description string, this is mainly use for logging or UI. | InterchangeSourceData.h |