![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <AssetIdentifier.h>
Public Member Functions | |
| FAssetIdentifier (FName InPackageName, FName InObjectName=FName(), FName InValueName=FName()) | |
| FAssetIdentifier (const FPrimaryAssetId &PrimaryAssetId, FName InValueName=FName()) | |
| COREUOBJECT_API | FAssetIdentifier (UObject *SourceObject, FName InValueName) |
| FAssetIdentifier () | |
| FPrimaryAssetId | GetPrimaryAssetId () const |
| bool | IsPackage () const |
| bool | IsObject () const |
| bool | IsValue () const |
| bool | IsValid () const |
| FString | ToString () const |
| void | AppendString (FStringBuilderBase &Builder) const |
| bool | LexicalLess (const FAssetIdentifier &Other) const |
| bool | FastLess (const FAssetIdentifier &Other) const |
| COREUOBJECT_API void | WriteCompactBinary (FCbWriter &Writer) const |
Static Public Member Functions | |
| static FAssetIdentifier | FromString (const FString &String) |
Public Attributes | |
| FName | PackageName |
| FPrimaryAssetType | PrimaryAssetType |
| FName | ObjectName |
| FName | ValueName |
Friends | |
| bool | operator== (const FAssetIdentifier &A, const FAssetIdentifier &B) |
| uint32 | GetTypeHash (const FAssetIdentifier &Key) |
| FArchive & | operator<< (FArchive &Ar, FAssetIdentifier &AssetIdentifier) |
| FCbWriter & | operator<< (FCbWriter &Writer, const FAssetIdentifier &Identifier) |
| COREUOBJECT_API friend bool | LoadFromCompactBinary (FCbFieldView Field, FAssetIdentifier &Identifier) |
| COREUOBJECT_API friend void | SerializeForLog (FCbWriter &Writer, const FAssetIdentifier &Value) |
A structure defining a thing that can be reference by something else in the asset registry. Represents either a package of a primary asset id
|
inline |
Can be implicitly constructed from just the package name
|
inline |
Construct from a primary asset id
|
inline |
|
inline |
Appends to the given builder the string version of this identifier in Package.Object::Name format
|
inline |
|
inlinestatic |
Converts from Package.Object::Name format
|
inline |
Returns primary asset id for this identifier, if valid
|
inline |
Returns true if this represents an object, true for both package objects and PrimaryAssetId objects
|
inline |
Returns true if this represents a package
|
inline |
Returns true if this is a valid non-null identifier
|
inline |
Returns true if this represents a specific value
|
inline |
|
inline |
Returns string version of this identifier in Package.Object::Name format
|
friend |
|
friend |
|
friend |
Identifiers may be serialized as part of the registry cache, or in other contexts. If you make changes here you must also change FAssetRegistryVersion
|
friend |
|
friend |
|
friend |
| FName FAssetIdentifier::ObjectName |
Specific object within a package. If empty, assumed to be the default asset
| FName FAssetIdentifier::PackageName |
The name of the package that is depended on, this is always set unless PrimaryAssetType is
| FPrimaryAssetType FAssetIdentifier::PrimaryAssetType |
The primary asset type, if valid the ObjectName is the PrimaryAssetName
| FName FAssetIdentifier::ValueName |
Name of specific value being referenced, if ObjectName specifies a type such as a UStruct