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