Navigation
API > API/Plugins > API/Plugins/ExternalSource
References
| Module | ExternalSource |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/ExternalSource/Public/SourceUri.h |
| Include | #include "SourceUri.h" |
Syntax
class FSourceUri
Remarks
URI container class used for referencing external sources. TODO - A proper standardized version should be implemented in a Runtime/Core module to unify all URI implementations across the engine. For example, a URI implementation is provided in Plugins\Media\ElectraPlayer\Source\ElectraPlayerRuntime\Private\Runtime\Utilities\URI.h
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSourceUri () |
|||
FSourceUri
(
const FString& InUri |
|||
FSourceUri
(
const FString& InScheme, |
|||
FSourceUri
(
const FString& InScheme, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FSourceUri | FromAssetData
(
const FAssetData& AssetData |
Try to get the FSourceUri registered in the AssetData. | |
| FSourceUri | FromFilePath
(
const FString& FilePath |
Generate a FSourceUri from the given filepath. | |
| FName | Returns the Tag that should be used for registering the SourceUri of an asset in its corresponding FAssetData. | ||
| const FString & | Return the scheme used for file URIs : "file" | ||
| FStringView | GetPath () |
Return the path of the FSourceUri | |
| FStringView | GetQuery () |
||
| TMap< FString, FString > | GetQueryMap () |
||
| FStringView | GetScheme () |
||
| bool | Check if the FSourceUri has the provided scheme. | ||
| bool | IsValid () |
Return if the FSourceUri is a properly structure valid uri. | |
| const FString & | ToString () |
Return the FSourceUri as a string. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FSourceUri& Other |
||
| bool | operator==
(
const FSourceUri& Other |