Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/PrimaryAssetId.h |
| Include | #include "UObject/PrimaryAssetId.h" |
Syntax
struct FPrimaryAssetId
Remarks
This identifies an object as a "primary" asset that can be searched for by the AssetManager and used in various tools
Variables
| Type | Name | Description | |
|---|---|---|---|
| FName | PrimaryAssetName | An FName describing this asset. | |
| FPrimaryAssetType | PrimaryAssetType | An FName describing the logical type of this object, usually the name of a base UClass. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPrimaryAssetId
(
const FString& TypeAndName |
|||
FPrimaryAssetId
(
const FPrimaryAssetId& |
|||
FPrimaryAssetId
(
FPrimaryAssetType InAssetType, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AppendString
(
FStringBuilderBase& Builder |
Appends to the given builder the string version of this identifier in Type:Name format | |
| bool | ExportTextItem
(
FString& ValueStr, |
UStruct Overrides | |
| FPrimaryAssetId | FromString
(
const FString& String |
Converts from Type:Name format | |
| bool | ImportTextItem
(
const TCHAR*& Buffer, |
||
| bool | IsValid () |
Returns true if this is a valid identifier | |
| FPrimaryAssetId | ParseTypeAndName
(
const FString& TypeAndName |
||
| FPrimaryAssetId | ParseTypeAndName
(
FName TypeAndName |
||
| FPrimaryAssetId | ParseTypeAndName
(
const TCHAR* TypeAndName, |
||
| bool | SerializeFromMismatchedTag
(
FPropertyTag const& Tag, |
||
| FString | ToString () |
Returns string version of this identifier in Type:Name format |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FPrimaryAssetId& Other |
||
| FPrimaryAssetId & | operator=
(
const FPrimaryAssetId& |
||
| FPrimaryAssetId & | operator=
(
FPrimaryAssetId&& |
||
| bool | operator==
(
const FPrimaryAssetId& Other |
Constants
| Name | Description |
|---|---|
| PrimaryAssetNameTag | |
| PrimaryAssetTypeTag | Static names to represent the AssetRegistry tags for the above data |